ErrorWithResponse
Error container returned when the Braintree server returns a 422 Unprocessible Entity. A 422 occurs when a request is properly formed, but the server was unable to take the requested action due to bad user data.
ErrorWithResponse parses the server's error response and exposes the errors.
Properties
Link copied to clipboard
The full error response as a String.
Link copied to clipboard
All the field errors.
Link copied to clipboard
HTTP status code from the Braintree gateway.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to extract an error for an individual field, e.g. creditCard, customer, etc.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard