BouncesReportException.php
18 lines
| 1 | <?php declare(strict_types = 1); |
| 2 | |
| 3 | namespace MailPoet\Services\Bridge; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | use MailPoet\RuntimeException; |
| 9 | |
| 10 | /** |
| 11 | * Thrown when a bounces report request does not yield a usable report. The code |
| 12 | * carries the HTTP status the endpoint responded with, or 0 when there was no |
| 13 | * response to read a status from (connection error, malformed payload), so |
| 14 | * callers can tell a permanent rejection from a transient failure. |
| 15 | */ |
| 16 | class BouncesReportException extends RuntimeException { |
| 17 | } |
| 18 |