summaryrefslogtreecommitdiff
path: root/vendor/wikimedia/assert/src/PostconditionException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wikimedia/assert/src/PostconditionException.php')
-rw-r--r--vendor/wikimedia/assert/src/PostconditionException.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/wikimedia/assert/src/PostconditionException.php b/vendor/wikimedia/assert/src/PostconditionException.php
new file mode 100644
index 00000000..a7753ef0
--- /dev/null
+++ b/vendor/wikimedia/assert/src/PostconditionException.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Wikimedia\Assert;
+
+use LogicException;
+
+/**
+ * Exception indicating that a postcondition assertion failed.
+ * This generally means an error in the internal logic of a function, or a serious problem
+ * in the runtime environment.
+ *
+ * @license MIT
+ * @author Daniel Kinzler
+ * @copyright Wikimedia Deutschland e.V.
+ */
+class PostconditionException extends LogicException implements AssertionException {
+
+}