for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Spiral\Http\Exception\ClientException;
use Spiral\Http\Exception\ClientException;
/**
* HTTP 500 exception.
* @deprecated since v3.12
*/
class ServerErrorException extends ClientException
{
/** @var int */
protected $code = ClientException::ERROR;
public function __construct(string $message = '', ?\Throwable $previous = null)
parent::__construct($this->code, $message, $previous);
}