We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e9d45 commit b912f96Copy full SHA for b912f96
src/Application/exceptions.php
@@ -46,7 +46,7 @@ class BadRequestException extends \Exception
46
protected $code = Http\IResponse::S404_NOT_FOUND;
47
48
49
- public function __construct(string $message = '', int $httpCode = 0, \Exception $previous = null)
+ public function __construct(string $message = '', int $httpCode = 0, \Throwable $previous = null)
50
{
51
parent::__construct($message, $httpCode ?: $this->code, $previous);
52
}
0 commit comments