diff options
Diffstat (limited to 'lib/cepis/NetworkException.php')
| -rw-r--r-- | lib/cepis/NetworkException.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/cepis/NetworkException.php b/lib/cepis/NetworkException.php new file mode 100644 index 0000000..506b615 --- /dev/null +++ b/lib/cepis/NetworkException.php @@ -0,0 +1,16 @@ +<?php + +declare(strict_types=1); + +namespace Cepis; + +/** + * The request never completed: DNS, refused connection, timeout, TLS. + * + * A {@see Transport} signals a failed request by throwing this. The client + * treats it as retriable and only lets it escape once every configured attempt + * has failed. + */ +final class NetworkException extends \RuntimeException implements CepisException +{ +} |