| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Exception extends \Exception |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @return Exception |
||
| 9 | */ |
||
| 10 | public static function serviceUnavailable() |
||
| 11 | { |
||
| 12 | return new self("Colissimo Web Service is unavailable"); |
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $message |
||
| 17 | * @return Exception |
||
| 18 | */ |
||
| 19 | public static function requestError(string $message) |
||
| 22 | } |
||
| 23 | } |
||
| 24 |