world.money.errors.ConversionError
See theConversionError companion trait
object ConversionError
Container for specific ConversionError types.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ConversionError.type
Members list
Type members
Classlikes
final case class ProviderError extends ConversionError
Returned if an error occurs within an world.money.conversion.ExchangeRateProvider.
Returned if an error occurs within an world.money.conversion.ExchangeRateProvider.
This can be used to wrap exceptions from underlying HTTP clients, databases, etc.
Value parameters
- cause
-
An optional underlying
Throwablethat caused this error. - message
-
A description of the provider error.
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalstrait ConversionErrortrait MoneyErrortrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
object ProviderError
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProviderError.type
final case class RateNotFound(query: ConversionQuery) extends ConversionError
Returned if an exchange rate cannot be found for a given conversion query.
Returned if an exchange rate cannot be found for a given conversion query.
Value parameters
- query
-
The world.money.conversion.ConversionQuery that failed.
Attributes
- Supertypes
-
trait Producttrait Equalstrait ConversionErrortrait MoneyErrortrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
In this article