UnprocessableEntityException.php in RESTful 7.2
Namespace
Drupal\restful\ExceptionFile
src/Exception/UnprocessableEntityException.phpView source
<?php
/**
* @file
* Contains \Drupal\restful\Exception\UnprocessableEntityException.
*/
namespace Drupal\restful\Exception;
class UnprocessableEntityException 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 |
---|---|
UnprocessableEntityException |