summaryrefslogtreecommitdiffstats
path: root/lib/cepis/CepNotFoundException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cepis/CepNotFoundException.php')
-rw-r--r--lib/cepis/CepNotFoundException.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/cepis/CepNotFoundException.php b/lib/cepis/CepNotFoundException.php
new file mode 100644
index 0000000..c64de8b
--- /dev/null
+++ b/lib/cepis/CepNotFoundException.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Cepis;
+
+/**
+ * The CEP is well-formed but does not exist in the DNE database.
+ *
+ * Extends `\OutOfBoundsException`, the SPL type for a value that is not a
+ * valid key: looking a CEP up is conceptually a key lookup.
+ */
+final class CepNotFoundException extends \OutOfBoundsException implements CepisException
+{
+}