You are here

RestfulUnsupportedMediaTypeException.php in RESTful 7

Contains RestfulUnsupportedMediaTypeException

File

exceptions/RestfulUnsupportedMediaTypeException.php
View source
<?php

/**
 * @file
 * Contains RestfulUnsupportedMediaTypeException
 */
class RestfulUnsupportedMediaTypeException extends RestfulException {

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

  /**
   * {@inheritdoc}
   */
  protected $description = 'Unsupported Media Type.';

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

}

Classes

Namesort descending Description
RestfulUnsupportedMediaTypeException @file Contains RestfulUnsupportedMediaTypeException