Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
ToJSON Error # | |
Generic Error # | |
Show Error # | |
Eq Error # | |
type Rep Error # | |
Defined in API.Error type Rep Error = D1 ('MetaData "Error" "API.Error" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Error" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
data ServiceError #
Instances
headers :: [(HeaderName, ByteString)] #
healthError :: SomeException -> Handler a #
serviceError :: SomeException -> Handler a #
mismatchError :: SomeException -> Handler a #
toEither :: Maybe (Either SomeException a) -> Either SomeException a #