Copyright | (c) OleksandrZhabenko 2020 |
---|---|
License | MIT |
Stability | Experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
Maintainer : olexandr543@yahoo.com
A program and a library that can be used as a simple basic interface to some SoX functionality or for producing the approximately Ukrainian speech with your own recorded voice (actually it produces the needed sound representations).
Synopsis
- data FinalException
- = NeededInfoIsShown
- | 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
- catchEnd :: FinalException -> IO ()
Documentation
data FinalException Source #
Data type FinalException
is used to terminate the not needed further execution.
Instances
Show FinalException Source # | |
Defined in Control.Exception.FinalException showsPrec :: Int -> FinalException -> ShowS # show :: FinalException -> String # showList :: [FinalException] -> ShowS # | |
Exception FinalException Source # | |
Defined in Control.Exception.FinalException |
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. NeededInfoIsShown
is an exception that actually only signals that the needed information is given and is not
any exceptional but rather standard situation, so the output of the function in such a case is printed to the stdout
handle (with the default to stderr
in all other cases).