Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
OAuthInvalid | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace BO\Slim\Exception; |
4 | |
5 | /** |
6 | * example class to generate an exception |
7 | */ |
8 | class OAuthInvalid extends \Exception |
9 | { |
10 | protected $code = 401; |
11 | |
12 | protected $message = |
13 | 'Something went wrong when trying to log in. Possibly the session had not expired yet. Try again. '; |
14 | } |