You are here

InternalServerErrorException.php in RESTful 7.2

File

src/Exception/InternalServerErrorException.php
View source
<?php

/**
 * @file
 * Contains \Drupal\restful\Exception\InternalServerErrorException
 */
namespace Drupal\restful\Exception;

class InternalServerErrorException extends RestfulException {

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

  /**
   * {@inheritdoc}
   */
  protected $instance = 'help/restful/problem-instances-server-configuration';

}

Classes