You are here

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

UnauthorizedException

Namespace

Drupal\restful\Exception

Code

protected $code = 401;