wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Error.Cargohold

Documentation

data CargoholdError Source #

Instances

Instances details
(Typeable (MapError e), KnownError (MapError e)) => IsSwaggerError (e :: CargoholdError) Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'AssetNotFound Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'AssetNotFound = 'StaticError 404 "not-found" "Asset not found"
type MapError 'AssetTooLarge Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'AssetTooLarge = 'StaticError 413 "client-error" "Asset too large"
type MapError 'InvalidLength Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'InvalidLength = 'StaticError 400 "invalid-length" "Invalid content length"
type MapError 'NoMatchingAssetEndpoint Source #

Return AssetNotFound to hide there's a multi-ingress setup.

Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'Unauthorised Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'Unauthorised = 'StaticError 403 "unauthorised" "Unauthorised operation"
type MapError 'UnverifiedUser Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'UnverifiedUser = 'StaticError 403 "unverified-user" "Unverified user"
type MapError 'UserNotFound Source # 
Instance details

Defined in Wire.API.Error.Cargohold

type MapError 'UserNotFound = 'StaticError 403 "not-found" "User not found"