Class ValidationException
Guzzle exception
- Exception
- RuntimeException
- Guzzle\Common\Exception\RuntimeException implements Guzzle\Common\Exception\GuzzleException
- Guzzle\Service\Exception\ValidationException
Methods summary
-
public
setErrors ( array $errors )
Set the validation error messages
-
public
getErrors ( )
Get any validation errors
Methods detail
Set the validation error messages
Parameters
- $errors
array
$errors Array of validation errors
Get any validation errors
Returns
array
Methods inherited from Exception
__construct()
,
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Magic methods summary
Properties summary
protected
array
|
$errors |