You are here

class RestfulGoneException in RESTful 7

@file Contains RestfulGoneException

Hierarchy

Expanded class hierarchy of RestfulGoneException

File

exceptions/RestfulGoneException.php, line 8
Contains RestfulGoneException

View source
class RestfulGoneException extends Exception {

  /**
   * Defines the HTTP error code.
   *
   * @var int
   */
  protected $code = 410;

  /**
   * {@inheritdoc}
   */
  protected $description = 'The resource at this end point is no longer available.';

  /**
   * {@inheritdoc}
   */
  protected $instance = 'help/restful/problem-instances-gone';

}

Members

Namesort descending Modifiers Type Description Overrides
RestfulGoneException::$code protected property Defines the HTTP error code.
RestfulGoneException::$description protected property
RestfulGoneException::$instance protected property