summaryrefslogtreecommitdiffstats
path: root/src/NetworkException.php
diff options
context:
space:
mode:
authorMurilo Ijanc <[email protected]>2026-07-26 14:58:55 -0300
committerMurilo Ijanc <[email protected]>2026-07-26 14:58:55 -0300
commit64764fb9fac0227f8e0443e7c7519d73aec275b9 (patch)
treecb4fc56eeb6ecce53854f9c530609cf01ab3349f /src/NetworkException.php
downloadphp-0.1.0.tar.gz
Initial importv0.1.0
Diffstat (limited to 'src/NetworkException.php')
-rw-r--r--src/NetworkException.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NetworkException.php b/src/NetworkException.php
new file mode 100644
index 0000000..506b615
--- /dev/null
+++ b/src/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
+{
+}