Safe Haskell | None |
---|---|
Language | Haskell2010 |
Servant.Checked.Exceptions.Verbs
Synopsis
- type GetWithErr = VerbWithErr 'GET 200 :: [Type] -> [Type] -> k -> Type
- type PostWithErr = VerbWithErr 'POST 200 :: [Type] -> [Type] -> k -> Type
- type PutWithErr = VerbWithErr 'PUT 200 :: [Type] -> [Type] -> k -> Type
- type DeleteWithErr = VerbWithErr 'DELETE 200 :: [Type] -> [Type] -> k -> Type
- type PatchWithErr = VerbWithErr 'PATCH 200 :: [Type] -> [Type] -> k -> Type
- data VerbWithErr (method :: k1) (successStatusCode :: Nat) (contentTypes :: [Type]) (es :: [Type]) (a :: k)
- type PostCreatedWithErr = VerbWithErr 'POST 201 :: [Type] -> [Type] -> k -> Type
- type GetAcceptedWithErr = VerbWithErr 'GET 202 :: [Type] -> [Type] -> k -> Type
- type PostAcceptedWithErr = VerbWithErr 'POST 202 :: [Type] -> [Type] -> k -> Type
- type DeleteAcceptedWithErr = VerbWithErr 'DELETE 202 :: [Type] -> [Type] -> k -> Type
- type PatchAcceptedWithErr = VerbWithErr 'PATCH 202 :: [Type] -> [Type] -> k -> Type
- type PutAcceptedWithErr = VerbWithErr 'PUT 202 :: [Type] -> [Type] -> k -> Type
- type GetNonAuthoritativeWithErr = VerbWithErr 'GET 203 :: [Type] -> [Type] -> k -> Type
- type PostNonAuthoritativeWithErr = VerbWithErr 'POST 203 :: [Type] -> [Type] -> k -> Type
- type DeleteNonAuthoritativeWithErr = VerbWithErr 'DELETE 203 :: [Type] -> [Type] -> k -> Type
- type PatchNonAuthoritativeWithErr = VerbWithErr 'PATCH 203 :: [Type] -> [Type] -> k -> Type
- type PutNonAuthoritativeWithErr = VerbWithErr 'PUT 203 :: [Type] -> [Type] -> k -> Type
- type GetNoContentWithErr = VerbWithErr 'GET 204 :: [Type] -> [Type] -> k -> Type
- type PostNoContentWithErr = VerbWithErr 'POST 204 :: [Type] -> [Type] -> k -> Type
- type DeleteNoContentWithErr = VerbWithErr 'DELETE 204 :: [Type] -> [Type] -> k -> Type
- type PatchNoContentWithErr = VerbWithErr 'PATCH 204 :: [Type] -> [Type] -> k -> Type
- type PutNoContentWithErr = VerbWithErr 'PUT 204 :: [Type] -> [Type] -> k -> Type
- type GetResetContentWithErr = VerbWithErr 'GET 205 :: [Type] -> [Type] -> k -> Type
- type PostResetContentWithErr = VerbWithErr 'POST 205 :: [Type] -> [Type] -> k -> Type
- type DeleteResetContentWithErr = VerbWithErr 'DELETE 205 :: [Type] -> [Type] -> k -> Type
- type PatchResetContentWithErr = VerbWithErr 'PATCH 205 :: [Type] -> [Type] -> k -> Type
- type PutResetContentWithErr = VerbWithErr 'PUT 205 :: [Type] -> [Type] -> k -> Type
- type GetPartialContentWithErr = VerbWithErr 'GET 206 :: [Type] -> [Type] -> k -> Type
- module Data.WorldPeace
Specialized Verbs
HTTP 200
type GetWithErr = VerbWithErr 'GET 200 :: [Type] -> [Type] -> k -> Type Source #
type PostWithErr = VerbWithErr 'POST 200 :: [Type] -> [Type] -> k -> Type Source #
type PutWithErr = VerbWithErr 'PUT 200 :: [Type] -> [Type] -> k -> Type Source #
type DeleteWithErr = VerbWithErr 'DELETE 200 :: [Type] -> [Type] -> k -> Type Source #
type PatchWithErr = VerbWithErr 'PATCH 200 :: [Type] -> [Type] -> k -> Type Source #
data VerbWithErr (method :: k1) (successStatusCode :: Nat) (contentTypes :: [Type]) (es :: [Type]) (a :: k) Source #
Instances
Generic (VerbWithErr method successStatusCode contentTypes es a) Source # | |||||
Defined in Servant.Checked.Exceptions.Internal.Verbs Associated Types
Methods 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 |
HTTP 201
type PostCreatedWithErr = VerbWithErr 'POST 201 :: [Type] -> [Type] -> k -> Type Source #
HTTP 202
type GetAcceptedWithErr = VerbWithErr 'GET 202 :: [Type] -> [Type] -> k -> Type Source #
type PostAcceptedWithErr = VerbWithErr 'POST 202 :: [Type] -> [Type] -> k -> Type Source #
type DeleteAcceptedWithErr = VerbWithErr 'DELETE 202 :: [Type] -> [Type] -> k -> Type Source #
type PatchAcceptedWithErr = VerbWithErr 'PATCH 202 :: [Type] -> [Type] -> k -> Type Source #
type PutAcceptedWithErr = VerbWithErr 'PUT 202 :: [Type] -> [Type] -> k -> Type Source #
HTTP 203
type GetNonAuthoritativeWithErr = VerbWithErr 'GET 203 :: [Type] -> [Type] -> k -> Type Source #
type PostNonAuthoritativeWithErr = VerbWithErr 'POST 203 :: [Type] -> [Type] -> k -> Type Source #
type DeleteNonAuthoritativeWithErr = VerbWithErr 'DELETE 203 :: [Type] -> [Type] -> k -> Type Source #
type PatchNonAuthoritativeWithErr = VerbWithErr 'PATCH 203 :: [Type] -> [Type] -> k -> Type Source #
type PutNonAuthoritativeWithErr = VerbWithErr 'PUT 203 :: [Type] -> [Type] -> k -> Type Source #
HTTP 204
type GetNoContentWithErr = VerbWithErr 'GET 204 :: [Type] -> [Type] -> k -> Type Source #
type PostNoContentWithErr = VerbWithErr 'POST 204 :: [Type] -> [Type] -> k -> Type Source #
type DeleteNoContentWithErr = VerbWithErr 'DELETE 204 :: [Type] -> [Type] -> k -> Type Source #
type PatchNoContentWithErr = VerbWithErr 'PATCH 204 :: [Type] -> [Type] -> k -> Type Source #
type PutNoContentWithErr = VerbWithErr 'PUT 204 :: [Type] -> [Type] -> k -> Type Source #
HTTP 205
type GetResetContentWithErr = VerbWithErr 'GET 205 :: [Type] -> [Type] -> k -> Type Source #
type PostResetContentWithErr = VerbWithErr 'POST 205 :: [Type] -> [Type] -> k -> Type Source #
type DeleteResetContentWithErr = VerbWithErr 'DELETE 205 :: [Type] -> [Type] -> k -> Type Source #
type PatchResetContentWithErr = VerbWithErr 'PATCH 205 :: [Type] -> [Type] -> k -> Type Source #
type PutResetContentWithErr = VerbWithErr 'PUT 205 :: [Type] -> [Type] -> k -> Type Source #
HTTP 206
type GetPartialContentWithErr = VerbWithErr 'GET 206 :: [Type] -> [Type] -> k -> Type Source #
Envelope
response wrapper
module Data.WorldPeace