Open Journal Systems  3.3.0
Guzzle\Service\Exception\ValidationException Class Reference
Inheritance diagram for Guzzle\Service\Exception\ValidationException:
Guzzle\Common\Exception\RuntimeException Guzzle\Common\Exception\GuzzleException

Public Member Functions

 getErrors ()
 
 setErrors (array $errors)
 

Protected Attributes

 $errors = array()
 

Detailed Description

Definition at line 7 of file ValidationException.php.

Member Function Documentation

◆ getErrors()

Guzzle\Service\Exception\ValidationException::getErrors ( )

Get any validation errors

Returns
array

Definition at line 26 of file ValidationException.php.

References Guzzle\Service\Exception\ValidationException\$errors.

◆ setErrors()

Guzzle\Service\Exception\ValidationException::setErrors ( array  $errors)

Set the validation error messages

Parameters
array$errorsArray of validation errors

Definition at line 16 of file ValidationException.php.

References Guzzle\Service\Exception\ValidationException\$errors.

Field Documentation

◆ $errors

Guzzle\Service\Exception\ValidationException::$errors = array()
protected

The documentation for this class was generated from the following file: