world.money.errors.ArithmeticError
See theArithmeticError companion object
final case class ArithmeticError extends MoneyError
Returned when an arithmetic operation on monetary values fails.
This can occur, for example, during a division by zero.
Value parameters
- cause
-
The optional underlying
Throwable(e.g., java.lang.ArithmeticException). - message
-
An explanation of the arithmetic error.
Attributes
- Companion
- object
- Source
- money_errors.scala
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait MoneyErrortrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
Throwable
- Source
- money_errors.scala
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Definition Classes
-
NoStackTrace -> Throwable
- Inherited from:
- NoStackTrace
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- NoStackTrace
Attributes
- Inherited from:
- Throwable
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Throwable
In this article