Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Exception extends \RuntimeException |
||
6 | { |
||
7 | public static function invalidCredentials(string $key): Exception |
||
8 | { |
||
9 | return new self("You must provide a ${key} to authenticate with MondialRelay Web Services"); |
||
10 | } |
||
11 | |||
12 | public static function requestError(string $code): Exception |
||
15 | } |
||
16 | |||
17 | public static function noPickupPoint(string $code): Exception |
||
22 |