You are here

RestfulUnauthorizedException.php in RESTful 7

Contains RestfulUnauthorizedException.

File

exceptions/RestfulUnauthorizedException.php
View source
<?php

/**
 * @file
 * Contains RestfulUnauthorizedException.
 */
class RestfulUnauthorizedException extends \RestfulException {

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

  /**
   * {@inheritdoc}
   */
  protected $description = 'Unauthorized.';

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

}

Classes

Namesort descending Description
RestfulUnauthorizedException @file Contains RestfulUnauthorizedException.