Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mkSimpleA3Error :: ST -> A3Error
- a3ActionErrorToServantErr :: ActionError ThentosA3Error -> IO ServantErr
Documentation
mkSimpleA3Error :: ST -> A3Error
Construct a simple A3-style error wrapping a single error. aeName
is set to thentos
and
aeLocation
to body
. Useful for cases where all we really have is a description.