Exception: BSON::Decimal128::InvalidString Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BSON::Decimal128::InvalidString
- Defined in:
- lib/bson/decimal128.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Raised when trying to create a Decimal128 from a string with
an invalid format.
Constant Summary collapse
- MESSAGE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The custom error message for this error.
'Invalid string format for creating a Decimal128 object.'.freeze
Instance Method Summary collapse
-
#message ⇒ String
private
Get the custom error message for the exception.