summaryrefslogtreecommitdiff
path: root/vendor/wikimedia/assert/src/PreconditionException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wikimedia/assert/src/PreconditionException.php')
-rw-r--r--vendor/wikimedia/assert/src/PreconditionException.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/wikimedia/assert/src/PreconditionException.php b/vendor/wikimedia/assert/src/PreconditionException.php
new file mode 100644
index 00000000..97e98035
--- /dev/null
+++ b/vendor/wikimedia/assert/src/PreconditionException.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace Wikimedia\Assert;
+
+use RuntimeException;
+
+/**
+ * Exception indicating that an precondition assertion failed.
+ * This generally means a disagreement between the caller and the implementation of a function.
+ *
+ * @license MIT
+ * @author Daniel Kinzler
+ * @copyright Wikimedia Deutschland e.V.
+ */
+class PreconditionException extends RuntimeException implements AssertionException {
+
+}