twirp-0.2.0.0: Haskell twirp foundations

Safe HaskellNone
LanguageHaskell2010

Twirp.Middleware.Errors

Documentation

data TwirpError Source #

Constructors

TwirpError 

Fields

Instances
Eq TwirpError Source # 
Instance details

Defined in Twirp.Middleware.Errors

Show TwirpError Source # 
Instance details

Defined in Twirp.Middleware.Errors

Generic TwirpError Source # 
Instance details

Defined in Twirp.Middleware.Errors

Associated Types

type Rep TwirpError :: Type -> Type #

ToJSON TwirpError Source # 
Instance details

Defined in Twirp.Middleware.Errors

type Rep TwirpError Source # 
Instance details

Defined in Twirp.Middleware.Errors

type Rep TwirpError = D1 (MetaData "TwirpError" "Twirp.Middleware.Errors" "twirp-0.2.0.0-L2Fh3VTKPKqKSlW8SMb3kq" False) (C1 (MetaCons "TwirpError" PrefixI True) (S1 (MetaSel (Just "code") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 String) :*: S1 (MetaSel (Just "msg") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 String)))