StripeAPI.Types.Error
Description
Contains the types generated from the schema Error
data Error Source #
Defines the object schema located at components.schemas.error in the specification.
components.schemas.error
An error response from the Stripe API
Constructors
Fields
error:
Defined in StripeAPI.Types.Error
Methods
(==) :: Error -> Error -> Bool #
(/=) :: Error -> Error -> Bool #
showsPrec :: Int -> Error -> ShowS #
show :: Error -> String #
showList :: [Error] -> ShowS #
toJSON :: Error -> Value #
toEncoding :: Error -> Encoding #
toJSONList :: [Error] -> Value #
toEncodingList :: [Error] -> Encoding #
parseJSON :: Value -> Parser Error #
parseJSONList :: Value -> Parser [Error] #
mkError Source #
Arguments
errorError
Create a new Error with all required fields.
Error