servant-checked-exceptions-core-2.2.0.1: Checked exceptions for Servant APIs.
CopyrightDennis Gosnell 2017
LicenseBSD3
MaintainerDennis Gosnell ([email protected])
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.Checked.Exceptions.Internal.Verbs

Description

This module defines the Throws and Throwing types.

Documentation

data VerbWithErr (method :: k1) (successStatusCode :: Nat) (contentTypes :: [Type]) (es :: [Type]) (a :: k) Source #

Instances

Instances details
Generic (VerbWithErr method successStatusCode contentTypes es a) Source # 
Instance details

Defined in Servant.Checked.Exceptions.Internal.Verbs

Associated Types

type Rep (VerbWithErr method successStatusCode contentTypes es a) 
Instance details

Defined in Servant.Checked.Exceptions.Internal.Verbs

type Rep (VerbWithErr method successStatusCode contentTypes es a) = D1 ('MetaData "VerbWithErr" "Servant.Checked.Exceptions.Internal.Verbs" "servant-checked-exceptions-core-2.2.0.1-6bUVwXXNSy3HEvZwnNypi5" 'False) (V1 :: Type -> Type)

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 # 
Instance details

Defined in Servant.Checked.Exceptions.Internal.Verbs

type Rep (VerbWithErr method successStatusCode contentTypes es a) = D1 ('MetaData "VerbWithErr" "Servant.Checked.Exceptions.Internal.Verbs" "servant-checked-exceptions-core-2.2.0.1-6bUVwXXNSy3HEvZwnNypi5" 'False) (V1 :: Type -> Type)

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 #

type PostCreatedWithErr = VerbWithErr 'POST 201 :: [Type] -> [Type] -> k -> Type Source #

type GetAcceptedWithErr = VerbWithErr 'GET 202 :: [Type] -> [Type] -> k -> Type Source #

type PostAcceptedWithErr = VerbWithErr 'POST 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 #

type GetNoContentWithErr = VerbWithErr 'GET 204 :: [Type] -> [Type] -> k -> Type Source #

type PostNoContentWithErr = VerbWithErr 'POST 204 :: [Type] -> [Type] -> k -> Type Source #

type PutNoContentWithErr = VerbWithErr 'PUT 204 :: [Type] -> [Type] -> k -> Type Source #

type GetResetContentWithErr = VerbWithErr 'GET 205 :: [Type] -> [Type] -> k -> Type Source #

type PutResetContentWithErr = VerbWithErr 'PUT 205 :: [Type] -> [Type] -> k -> Type Source #