class NegativeNumberException
Exception thrown when attempting to perform an unsupported operation, such as a square root, on a negative number.
Hierarchy
- class \Brick\Math\Exception\MathException extends \Brick\Math\Exception\Exception
- class \Brick\Math\Exception\NegativeNumberException extends \Brick\Math\Exception\MathException
Expanded class hierarchy of NegativeNumberException
2 files declare their use of NegativeNumberException
- BigDecimal.php in vendor/
brick/ math/ src/ BigDecimal.php - BigInteger.php in vendor/
brick/ math/ src/ BigInteger.php
File
-
vendor/
brick/ math/ src/ Exception/ NegativeNumberException.php, line 10
Namespace
Brick\Math\ExceptionView source
class NegativeNumberException extends MathException {
}