stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.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.

An error response from the Stripe API

Constructors

Error 

Fields

Instances

Instances details
Eq Error Source # 
Instance details

Defined in StripeAPI.Types.Error

Methods

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

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

Show Error Source # 
Instance details

Defined in StripeAPI.Types.Error

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

ToJSON Error Source # 
Instance details

Defined in StripeAPI.Types.Error

FromJSON Error Source # 
Instance details

Defined in StripeAPI.Types.Error

mkError Source #

Arguments

:: ApiErrors

errorError

-> Error 

Create a new Error with all required fields.