summaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/src/Exception/NegativeNumberException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/brick/math/src/Exception/NegativeNumberException.php')
-rw-r--r--vendor/brick/math/src/Exception/NegativeNumberException.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/brick/math/src/Exception/NegativeNumberException.php b/vendor/brick/math/src/Exception/NegativeNumberException.php
new file mode 100644
index 0000000..4739113
--- /dev/null
+++ b/vendor/brick/math/src/Exception/NegativeNumberException.php
@@ -0,0 +1,12 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Brick\Math\Exception;
+
+/**
+ * Exception thrown when attempting to perform an unsupported operation, such as a square root, on a negative number.
+ */
+class NegativeNumberException extends MathException
+{
+}