You are here

GoneException.php in RESTful 7.2

File

src/Exception/GoneException.php
View source
<?php

/**
 * @file
 * Contains \Drupal\restful\Exception\GoneException.
 */
namespace Drupal\restful\Exception;

class GoneException extends RestfulException {

  /**
   * 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';

}

Classes

Namesort descending Description
GoneException