Файл: monst/Xsolla/Guzzle/Service/Exception/ValidationException.php
Строк: 22
<?php
namespace GuzzleServiceException;
use GuzzleCommonExceptionRuntimeException;
class ValidationException extends RuntimeException
{
protected $errors = array();
/**
* Set the validation error messages
*
* @param array $errors Array of validation errors
*/
public function setErrors(array $errors)
{
$this->errors = $errors;
}
/**
* Get any validation errors
*
* @return array
*/
public function getErrors()
{
return $this->errors;
}
}