summaryrefslogtreecommitdiff
path: root/vendor/wikimedia/assert/src/InvariantException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wikimedia/assert/src/InvariantException.php')
-rw-r--r--vendor/wikimedia/assert/src/InvariantException.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/wikimedia/assert/src/InvariantException.php b/vendor/wikimedia/assert/src/InvariantException.php
new file mode 100644
index 00000000..870ce1a0
--- /dev/null
+++ b/vendor/wikimedia/assert/src/InvariantException.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Wikimedia\Assert;
+
+use LogicException;
+
+/**
+ * Exception indicating that an invariant 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 InvariantException extends LogicException implements AssertionException {
+
+}