twirp-0.2.0.0: Haskell twirp foundations
Twirp.Middleware.Errors
data TwirpError Source #
Constructors
Fields
Defined in Twirp.Middleware.Errors
Methods
(==) :: TwirpError -> TwirpError -> Bool #
(/=) :: TwirpError -> TwirpError -> Bool #
showsPrec :: Int -> TwirpError -> ShowS #
show :: TwirpError -> String #
showList :: [TwirpError] -> ShowS #
Associated Types
type Rep TwirpError :: Type -> Type #
from :: TwirpError -> Rep TwirpError x #
to :: Rep TwirpError x -> TwirpError #
toJSON :: TwirpError -> Value #
toEncoding :: TwirpError -> Encoding #
toJSONList :: [TwirpError] -> Value #
toEncodingList :: [TwirpError] -> Encoding #
twirpErrorResponses :: Middleware Source #