Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| YearOutOfRange | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace BO\Zmsapi\Exception\Dayoff; |
| 4 | |
| 5 | /** |
| 6 | * example class to generate an exception |
| 7 | */ |
| 8 | class YearOutOfRange extends \Exception |
| 9 | { |
| 10 | protected $code = 404; |
| 11 | |
| 12 | protected $message = 'Given year is out of acceptable range (max. +10 years allowed)'; |
| 13 | } |