aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/src/Exception/MathException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/brick/math/src/Exception/MathException.php')
-rw-r--r--vendor/brick/math/src/Exception/MathException.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/brick/math/src/Exception/MathException.php b/vendor/brick/math/src/Exception/MathException.php
new file mode 100644
index 000000000..21fda90e1
--- /dev/null
+++ b/vendor/brick/math/src/Exception/MathException.php
@@ -0,0 +1,14 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Brick\Math\Exception;
+
+/**
+ * Base class for all math exceptions.
+ *
+ * This class is abstract to ensure that only fine-grained exceptions are thrown throughout the code.
+ */
+class MathException extends \RuntimeException
+{
+}