Skip to content

Commit bcc9db8

Browse files
committed
AbortException & BadRequestException extends LogicException
To be considered unchecked by PhpStorm
1 parent deba7c8 commit bcc9db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application/exceptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* The exception that is thrown when user attempts to terminate the current presenter or application.
1717
* This is special "silent exception" with no error message or code.
1818
*/
19-
class AbortException extends \Exception
19+
class AbortException extends \LogicException
2020
{
2121
}
2222

@@ -40,7 +40,7 @@ class InvalidPresenterException extends \Exception
4040
/**
4141
* The exception that indicates client error with HTTP code 4xx.
4242
*/
43-
class BadRequestException extends \Exception
43+
class BadRequestException extends \LogicException
4444
{
4545
/** @var int */
4646
protected $code = Http\IResponse::S404_NOT_FOUND;

0 commit comments

Comments
 (0)