You are here

RestfulUnprocessableEntityException.php in RESTful 7

Contains RestfulUnprocessableEntityException

File

exceptions/RestfulUnprocessableEntityException.php
View 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

Namesort descending Description
RestfulUnprocessableEntityException @file Contains RestfulUnprocessableEntityException