1 | <?php |
||
5 | class CouldNotSendNotification extends \Exception |
||
6 | { |
||
7 | /** |
||
8 | * @param $response |
||
9 | * @return CouldNotSendNotification |
||
10 | */ |
||
11 | 1 | public static function serviceRespondsNotSuccessful($response) |
|
21 | |||
22 | /** |
||
23 | * @param $response |
||
24 | * @return CouldNotSendNotification |
||
25 | */ |
||
26 | public static function userWasNotFound($response) |
||
32 | |||
33 | /** |
||
34 | * @param $exceededLength |
||
35 | * @return CouldNotSendNotification |
||
36 | */ |
||
37 | 2 | public static function statusUpdateTooLong($exceededLength) |
|
41 | } |
||
42 |