Constructor
new BraintreeError(options)
Do not use this constructor directly. You will interact with instances of this class through errbacks.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object | Construction options |
- Source:
Members
(static, readonly) types
Enum for BraintreeError types
Properties:
| Name | Type | Description |
|---|---|---|
CUSTOMER |
string | Error caused by the customer |
MERCHANT |
string | Error that is actionable by the merchant |
NETWORK |
string | Error due to a network problem |
INTERNAL |
string | Error caused by Braintree code |
UNKNOWN |
string | Error of unknown origin |
- Source:
details :object
Additional information about the error, such as an underlying network error response
Type:
- object
- Source:
message :string
A short description of the error
Type:
- string
- Source:
type :BraintreeError.types
The type of error
Type:
- Source: