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