Skip to content

Commit

Permalink
AbortException & BadRequestException extends LogicException
Browse files Browse the repository at this point in the history
To be considered unchecked by PhpStorm
  • Loading branch information
dg committed Dec 14, 2023
1 parent eeddf9e commit 08ccbdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* The exception that is thrown when user attempts to terminate the current presenter or application.
* This is special "silent exception" with no error message or code.
*/
class AbortException extends \Exception
class AbortException extends \LogicException
{
}

Expand All @@ -40,7 +40,7 @@ class InvalidPresenterException extends \Exception
/**
* The exception that indicates client error with HTTP code 4xx.
*/
class BadRequestException extends \Exception
class BadRequestException extends \LogicException
{
/** @var int */
protected $code = Http\IResponse::S404_NOT_FOUND;
Expand Down

0 comments on commit 08ccbdd

Please sign in to comment.