Skip to content

Commit

Permalink
Merge pull request #19 from dotblue/not-allowed-exception
Browse files Browse the repository at this point in the history
Broken rules throw descendant of BadRequestException
  • Loading branch information
vojtech-dobes committed Feb 25, 2015
2 parents db01ca9 + ec34e7c commit 433248f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ public function __invoke($presenter)

}

class NotAllowedImageException extends \Exception {}
class NotAllowedImageException extends Application\BadRequestException {}

0 comments on commit 433248f

Please sign in to comment.