RestfulUnprocessableEntityException.php in RESTful 7
Contains RestfulUnprocessableEntityException
File
exceptions/RestfulUnprocessableEntityException.phpView source
<?php
/**
* @file
* Contains RestfulUnprocessableEntityException
*/
class RestfulUnprocessableEntityException extends RestfulException {
/**
* Defines the HTTP error code.
*
* @var int
*/
protected $code = 422;
/**
* {@inheritdoc}
*/
protected $description = 'Unprocessable Entity; Validation errors.';
/**
* {@inheritdoc}
*/
protected $instance = 'help/restful/problem-instances-unprocessable-entity';
}
Classes
Name | Description |
---|---|
RestfulUnprocessableEntityException | @file Contains RestfulUnprocessableEntityException |