You are here

protected property UnsupportedMediaTypeException::$code in RESTful 7.2

Defines the HTTP error code.

Type: int

File

src/Exception/UnsupportedMediaTypeException.php, line 17
Contains \Drupal\restful\Exception\UnsupportedMediaTypeException.

Class

UnsupportedMediaTypeException

Namespace

Drupal\restful\Exception

Code

protected $code = 415;