Exception: BSON::Error::InvalidDecimal128String
- Inherits:
-
BSON::Error
- Object
- StandardError
- BSON::Error
- BSON::Error::InvalidDecimal128String
- Defined in:
- lib/bson/error/invalid_decimal128_string.rb
Overview
Raised when trying to create a Decimal128 from a string with
an invalid format.
Constant Summary collapse
- MESSAGE =
The custom error message for this error.
'Invalid string format for creating a Decimal128 object.'
Instance Method Summary collapse
-
#message ⇒ String
Get the custom error message for the exception.