You are here

public function Braintree_Error_ErrorCollection::__construct in Commerce Braintree 7

File

braintree_php/lib/Braintree/Error/ErrorCollection.php, line 29

Class

Braintree_Error_ErrorCollection
Handles validation errors

Code

public function __construct($errorData) {
  $this->_errors = new Braintree_Error_ValidationErrorCollection($errorData);
}