Brick\Math\Exception

Exceptions Summary
DivisionByZeroException Exception thrown when a division by zero occurs.
IntegerOverflowException Exception thrown when an integer overflow occurs.
MathException Base class for all math exceptions. This class is abstract to ensure that only fine-grained exceptions are thrown throughout the code.
NumberFormatException Exception thrown when attempting to create a number from a string with an invalid format.
RoundingNecessaryException Exception thrown when a number cannot be represented at the requested scale without rounding.