Class: Braintree::Errors


Provides access to errors from an ErrorResult.


Public Instance Methods
each(&block)
for(scope)

Accesses validation errors for the given scope.

size()

Returns the total number of validation errors at all levels of nesting. For example, if creating a customer with a credit card and a billing address, and each of the customer, credit card, and billing address has 1 error, this method will return 3.


© Copyright 2009 Braintree Payment Solutions. All Rights Reserved.