Copyright | Dennis Gosnell 2017 |
---|---|
License | BSD3 |
Maintainer | Dennis Gosnell (cdep.illabout@gmail.com) |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines the Throws
and Throwing
types.
Documentation
data VerbWithErr (method :: k1) (successStatusCode :: Nat) (contentTypes :: [*]) (es :: [*]) a Source #
Instances
Generic (VerbWithErr method successStatusCode contentTypes es a) Source # | |
Defined in Servant.Checked.Exceptions.Internal.Verbs type Rep (VerbWithErr method successStatusCode contentTypes es a) :: Type -> Type # from :: VerbWithErr method successStatusCode contentTypes es a -> Rep (VerbWithErr method successStatusCode contentTypes es a) x # to :: Rep (VerbWithErr method successStatusCode contentTypes es a) x -> VerbWithErr method successStatusCode contentTypes es a # | |
type Rep (VerbWithErr method successStatusCode contentTypes es a) Source # | |
Defined in Servant.Checked.Exceptions.Internal.Verbs |
type GetWithErr = VerbWithErr 'GET 200 Source #
type PostWithErr = VerbWithErr 'POST 200 Source #
type PutWithErr = VerbWithErr 'PUT 200 Source #
type DeleteWithErr = VerbWithErr 'DELETE 200 Source #
type PatchWithErr = VerbWithErr 'PATCH 200 Source #
type PostCreatedWithErr = VerbWithErr 'POST 201 Source #
type GetAcceptedWithErr = VerbWithErr 'GET 202 Source #
type PostAcceptedWithErr = VerbWithErr 'POST 202 Source #
type DeleteAcceptedWithErr = VerbWithErr 'DELETE 202 Source #
type PatchAcceptedWithErr = VerbWithErr 'PATCH 202 Source #
type PutAcceptedWithErr = VerbWithErr 'PUT 202 Source #
type GetNonAuthoritativeWithErr = VerbWithErr 'GET 203 Source #
type PostNonAuthoritativeWithErr = VerbWithErr 'POST 203 Source #
type DeleteNonAuthoritativeWithErr = VerbWithErr 'DELETE 203 Source #
type PatchNonAuthoritativeWithErr = VerbWithErr 'PATCH 203 Source #
type PutNonAuthoritativeWithErr = VerbWithErr 'PUT 203 Source #
type GetNoContentWithErr = VerbWithErr 'GET 204 Source #
type PostNoContentWithErr = VerbWithErr 'POST 204 Source #
type DeleteNoContentWithErr = VerbWithErr 'DELETE 204 Source #
type PatchNoContentWithErr = VerbWithErr 'PATCH 204 Source #
type PutNoContentWithErr = VerbWithErr 'PUT 204 Source #
type GetResetContentWithErr = VerbWithErr 'GET 205 Source #
type PostResetContentWithErr = VerbWithErr 'POST 205 Source #
type DeleteResetContentWithErr = VerbWithErr 'DELETE 205 Source #
type PatchResetContentWithErr = VerbWithErr 'PATCH 205 Source #
type PutResetContentWithErr = VerbWithErr 'PUT 205 Source #
type GetPartialContentWithErr = VerbWithErr 'GET 206 Source #