Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data CvException
- data CoerceMatError
- data ExpectationError a = ExpectationError {
- expectedValue :: !a
- actualValue :: !a
- data CvCppException
- type CvExcept a = Except CvException a
- type CvExceptT m a = ExceptT CvException m a
- pureExcept :: Applicative m => CvExcept a -> CvExceptT m a
- exceptError :: CvExcept a -> a
- exceptErrorIO :: CvExceptT IO a -> IO a
- exceptErrorM :: Monad m => CvExceptT m a -> m a
Exception type
data CvException Source #
data CoerceMatError Source #
data ExpectationError a Source #
ExpectationError | |
|
Functor ExpectationError Source # | |
Show a => Show (ExpectationError a) Source # | |
data CvCppException Source #
Monadic interface
type CvExcept a = Except CvException a Source #
type CvExceptT m a = ExceptT CvException m a Source #
pureExcept :: Applicative m => CvExcept a -> CvExceptT m a Source #
Promoting exceptions to errors
exceptError :: CvExcept a -> a Source #
exceptErrorM :: Monad m => CvExceptT m a -> m a Source #