Class shardimage\shardimagephpapi\web\exceptions\HttpException

Inheritanceshardimage\shardimagephpapi\web\exceptions\HttpException » shardimage\shardimagephpapi\base\exceptions\Exception » Exception
Subclassesshardimage\shardimagephpapi\web\exceptions\BadRequestHttpException, shardimage\shardimagephpapi\web\exceptions\ConflictHttpException, shardimage\shardimagephpapi\web\exceptions\ForbiddenHttpException, shardimage\shardimagephpapi\web\exceptions\GoneHttpException, shardimage\shardimagephpapi\web\exceptions\LockedHttpException, shardimage\shardimagephpapi\web\exceptions\MethodNotAllowedHttpException, shardimage\shardimagephpapi\web\exceptions\NotAcceptableHttpException, shardimage\shardimagephpapi\web\exceptions\NotFoundHttpException, shardimage\shardimagephpapi\web\exceptions\PayloadTooLargetHttpException, shardimage\shardimagephpapi\web\exceptions\PaymentRequiredHttpException, shardimage\shardimagephpapi\web\exceptions\PreconditionFailedHttpException, shardimage\shardimagephpapi\web\exceptions\RangeNotSatisfiableHttpException, shardimage\shardimagephpapi\web\exceptions\ServerErrorHttpException, shardimage\shardimagephpapi\web\exceptions\ServiceUnavailableHttpException, shardimage\shardimagephpapi\web\exceptions\TooManyRequestsHttpException, shardimage\shardimagephpapi\web\exceptions\UnauthorizedHttpException, shardimage\shardimagephpapi\web\exceptions\UnprocessableEntityHttpException, shardimage\shardimagephpapi\web\exceptions\UnsupportedMediaTypeHttpException

Property Details

$errors public property

Errors

public array|null $errors null
$statusCode public property

HTTP status code

public integer $statusCode null

Method Details

__construct() public method

public void __construct ( $message null, $code 0, $errors null, $previous null, $statusCode 500 )
$message
$code
$errors
$previous
$statusCode
getHeaders() public method

Getting $headers property

public array|null getHeaders ( )
getName() public method

public void getName ( )
newInstance() public static method

New instance of this exception

public static void newInstance ( $statusCode, $message null, $code 0, $errors null, $previous null, $headers null )
$statusCode integer

HTTP status code

$message string
$code integer
$errors mixed
$previous Throwable
$headers
throws Throwable
setHeaders() public method

Setting $headers property

public void setHeaders ( $headers )
$headers array