Copyright | (c) OleksandrZhabenko 2020-2021 2024 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions | DeriveDataTypeable |
Sound.Control.Exception.FinalException
Contents
Description
Exceptions for the other modules.
Synopsis
- data FinalException
- = ExecutableNotProperlyInstalled
- | MaybePartiallyTrimmed
- | NotCreatedWithEffect String
- | InitialFileNotChanged String
- | NotCreated String
- | NotRecorded String
- | NoiseProfileNotCreatedB String
- | NoiseProfileNotCreatedE String
- | NotEnoughData String
- | NotCreatedWithEffects String
- | StrangeAnswer String String
- | NotFileNameGiven
- | DataFileNotClosed String
- | DataSoundFileNotRead String
- | UndefinedFunction String
- catchEnd :: FinalException -> IO ()
Documentation
data FinalException Source #
Data type FinalException
is used to terminate the not needed further execution.
Constructors
Instances
Exception FinalException Source # | |
Defined in Sound.Control.Exception.FinalException Methods toException :: FinalException -> SomeException # | |
Show FinalException Source # | |
Defined in Sound.Control.Exception.FinalException Methods showsPrec :: Int -> FinalException -> ShowS # show :: FinalException -> String # showList :: [FinalException] -> ShowS # |
Exception
catchEnd :: FinalException -> IO () Source #
Function to work with exception FinalException
similarly to the example in the documentation for the catch
function. It throws an exception
to the thread where it is called.