recurly-client-0.0.0.1: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.Error

Description

Contains the types generated from the schema Error

Synopsis

Documentation

data Error Source #

Defines the object schema located at components.schemas.Error in the specification.

Constructors

Error 

Instances

Instances details
FromJSON Error Source # 
Instance details

Defined in RecurlyClient.Types.Error

ToJSON Error Source # 
Instance details

Defined in RecurlyClient.Types.Error

Show Error Source # 
Instance details

Defined in RecurlyClient.Types.Error

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Eq Error Source # 
Instance details

Defined in RecurlyClient.Types.Error

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

mkError :: Error Source #

Create a new Error with all required fields.

data ErrorParams Source #

Defines the object schema located at components.schemas.Error.properties.params.items in the specification.

Constructors

ErrorParams 

mkErrorParams :: ErrorParams Source #

Create a new ErrorParams with all required fields.

data ErrorType Source #

Defines the enum schema located at components.schemas.Error.properties.type in the specification.

Constructors

ErrorTypeOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

ErrorTypeTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

ErrorTypeEnumBad_request

Represents the JSON value "bad_request"

ErrorTypeEnumImmutable_subscription

Represents the JSON value "immutable_subscription"

ErrorTypeEnumInternal_server_error

Represents the JSON value "internal_server_error"

ErrorTypeEnumInvalid_api_key

Represents the JSON value "invalid_api_key"

ErrorTypeEnumInvalid_api_version

Represents the JSON value "invalid_api_version"

ErrorTypeEnumInvalid_content_type

Represents the JSON value "invalid_content_type"

ErrorTypeEnumInvalid_permissions

Represents the JSON value "invalid_permissions"

ErrorTypeEnumInvalid_token

Represents the JSON value "invalid_token"

ErrorTypeEnumMissing_feature

Represents the JSON value "missing_feature"

ErrorTypeEnumNot_found

Represents the JSON value "not_found"

ErrorTypeEnumRate_limited

Represents the JSON value "rate_limited"

ErrorTypeEnumService_not_available

Represents the JSON value "service_not_available"

ErrorTypeEnumSimultaneous_request

Represents the JSON value "simultaneous_request"

ErrorTypeEnumTax_service_error

Represents the JSON value "tax_service_error"

ErrorTypeEnumTransaction

Represents the JSON value "transaction"

ErrorTypeEnumUnauthorized

Represents the JSON value "unauthorized"

ErrorTypeEnumUnavailable_in_api_version

Represents the JSON value "unavailable_in_api_version"

ErrorTypeEnumUnknown_api_version

Represents the JSON value "unknown_api_version"

ErrorTypeEnumValidation

Represents the JSON value "validation"