Class Guzzle\Service\Exception\ValidationException

InheritanceGuzzle\Service\Exception\ValidationException » Guzzle\Common\Exception\RuntimeException » RuntimeException
ImplementsGuzzle\Common\Exception\GuzzleException

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$errors Guzzle\Service\Exception\ValidationException

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getErrors() Get any validation errors Guzzle\Service\Exception\ValidationException
setErrors() Set the validation error messages Guzzle\Service\Exception\ValidationException

Property Details

$errors protected property
protected $errors = []

Method Details

getErrors() public method

Get any validation errors

public array getErrors ( )
setErrors() public method

Set the validation error messages

public void setErrors ( array $errors )
$errors array

Array of validation errors