protected property UnauthorizedException::$code in RESTful 7.2
Defines the HTTP error code.
Type: int
File
- src/
Exception/ UnauthorizedException.php, line 17 - Contains \Drupal\restful\Exception\UnauthorizedException.
Class
Namespace
Drupal\restful\ExceptionCode
protected $code = 401;