Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema Error
Synopsis
- data Error = Error {}
- mkError :: Error
- data ErrorParams = ErrorParams {}
- mkErrorParams :: ErrorParams
- data ErrorType
- = ErrorTypeOther Value
- | ErrorTypeTyped Text
- | ErrorTypeEnumBad_request
- | ErrorTypeEnumImmutable_subscription
- | ErrorTypeEnumInternal_server_error
- | ErrorTypeEnumInvalid_api_key
- | ErrorTypeEnumInvalid_api_version
- | ErrorTypeEnumInvalid_content_type
- | ErrorTypeEnumInvalid_permissions
- | ErrorTypeEnumInvalid_token
- | ErrorTypeEnumMissing_feature
- | ErrorTypeEnumNot_found
- | ErrorTypeEnumRate_limited
- | ErrorTypeEnumService_not_available
- | ErrorTypeEnumSimultaneous_request
- | ErrorTypeEnumTax_service_error
- | ErrorTypeEnumTransaction
- | ErrorTypeEnumUnauthorized
- | ErrorTypeEnumUnavailable_in_api_version
- | ErrorTypeEnumUnknown_api_version
- | ErrorTypeEnumValidation
Documentation
Defines the object schema located at components.schemas.Error
in the specification.
Error | |
|
data ErrorParams Source #
Defines the object schema located at components.schemas.Error.properties.params.items
in the specification.
ErrorParams | |
|
Instances
FromJSON ErrorParams Source # | |
Defined in RecurlyClient.Types.Error parseJSON :: Value -> Parser ErrorParams # parseJSONList :: Value -> Parser [ErrorParams] # | |
ToJSON ErrorParams Source # | |
Defined in RecurlyClient.Types.Error toJSON :: ErrorParams -> Value # toEncoding :: ErrorParams -> Encoding # toJSONList :: [ErrorParams] -> Value # toEncodingList :: [ErrorParams] -> Encoding # | |
Show ErrorParams Source # | |
Defined in RecurlyClient.Types.Error showsPrec :: Int -> ErrorParams -> ShowS # show :: ErrorParams -> String # showList :: [ErrorParams] -> ShowS # | |
Eq ErrorParams Source # | |
Defined in RecurlyClient.Types.Error (==) :: ErrorParams -> ErrorParams -> Bool # (/=) :: ErrorParams -> ErrorParams -> Bool # |
mkErrorParams :: ErrorParams Source #
Create a new ErrorParams
with all required fields.
Defines the enum schema located at components.schemas.Error.properties.type
in the specification.
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 |
ErrorTypeEnumImmutable_subscription | Represents the JSON value |
ErrorTypeEnumInternal_server_error | Represents the JSON value |
ErrorTypeEnumInvalid_api_key | Represents the JSON value |
ErrorTypeEnumInvalid_api_version | Represents the JSON value |
ErrorTypeEnumInvalid_content_type | Represents the JSON value |
ErrorTypeEnumInvalid_permissions | Represents the JSON value |
ErrorTypeEnumInvalid_token | Represents the JSON value |
ErrorTypeEnumMissing_feature | Represents the JSON value |
ErrorTypeEnumNot_found | Represents the JSON value |
ErrorTypeEnumRate_limited | Represents the JSON value |
ErrorTypeEnumService_not_available | Represents the JSON value |
ErrorTypeEnumSimultaneous_request | Represents the JSON value |
ErrorTypeEnumTax_service_error | Represents the JSON value |
ErrorTypeEnumTransaction | Represents the JSON value |
ErrorTypeEnumUnauthorized | Represents the JSON value |
ErrorTypeEnumUnavailable_in_api_version | Represents the JSON value |
ErrorTypeEnumUnknown_api_version | Represents the JSON value |
ErrorTypeEnumValidation | Represents the JSON value |