{-# OPTIONS_GHC -Wno-redundant-constraints #-}
{-# OPTIONS_HADDOCK show-extensions #-}
module Test.Fluent.Assertions.Exceptions
(
anyException,
anyIOException,
exceptionOfType,
ExceptionSelector,
)
where
import Control.Exception
( Exception,
IOException,
SomeException,
)
type ExceptionSelector a = a -> a
anyException :: ExceptionSelector SomeException
anyException :: ExceptionSelector SomeException
anyException = ExceptionSelector SomeException
forall a. a -> a
id
anyIOException :: ExceptionSelector IOException
anyIOException :: ExceptionSelector IOException
anyIOException = ExceptionSelector IOException
forall a. a -> a
id
exceptionOfType :: Exception e => ExceptionSelector e
exceptionOfType :: ExceptionSelector e
exceptionOfType = ExceptionSelector e
forall a. a -> a
id