Skip to content

Commit

Permalink
Merge pull request #2 from amorimjuliana/master
Browse files Browse the repository at this point in the history
Make ParseCancellationException extends from LogicException
  • Loading branch information
marcospassos authored Oct 5, 2019
2 parents bbfb2df + af56d1b commit 4fc5e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Error/Exceptions/ParseCancellationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Antlr\Antlr4\Runtime\Error\Exceptions;

class ParseCancellationException extends \Exception
class ParseCancellationException extends \LogicException
{
public static function from(\Throwable $exception) : self
{
Expand Down

0 comments on commit 4fc5e08

Please sign in to comment.