NAME

WebService::Braintree::ValidationError

PURPOSE

This class represents an error, usually from a failed validation.

This class will only be created as part of a error response.

METHODS

attribute()

This is the attribute in the unsuccessful request which failed validation.

code()

This is the validation error code returned from Braintree.

message()

This is the explanatory message provided by Braintree for this error.