| 1 | <?php |
||
| 12 | class CouldNotSendNotification extends \Exception |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get a new could not send notification exception with |
||
| 16 | * length error message. |
||
| 17 | * |
||
| 18 | * @return static |
||
| 19 | */ |
||
| 20 | public static function contentLengthLimitExceeded() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get a new could not send notification exception with |
||
| 29 | * missing recipient message. |
||
| 30 | * |
||
| 31 | * @return static |
||
| 32 | */ |
||
| 33 | public static function missingRecipient() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get a new could not send notification exception with |
||
| 42 | * missing Recipient message. |
||
| 43 | * |
||
| 44 | * @param string $message |
||
| 45 | * @return static |
||
| 46 | */ |
||
| 47 | public static function apiFailed($message) |
||
| 51 | } |
||
| 52 |