Modulealsa-core-0.5.0.1Haskell98
Sound.ALSA.Exception
ALSA does not distinguish between programming errors and runtime exceptions, which is sad, but we have to cope with it.
Synopsis
- data T
- value checkResult
- value checkResult_
- value checkResultMaybe
- value throw
- value catch
- value catchErrno
- value catchXRun
- value showErrno
- value show
- value rethrow
- value strerror
- value snd_strerror
- Packagealsa-core-0.5.0.1
- Exports13
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceException.hs
Converts any AlsaException.T into an IOError.
This produces better a error message than letting an uncaught
AlsaException.T propagate to the top.
Returns the message for an error code.