RestfulUnauthorizedException.php in RESTful 7
Contains RestfulUnauthorizedException.
File
exceptions/RestfulUnauthorizedException.phpView 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
Name | Description |
---|---|
RestfulUnauthorizedException | @file Contains RestfulUnauthorizedException. |