Exception: BSON::Decimal128::InvalidArgument Private
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- BSON::Decimal128::InvalidArgument
- 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 an object that is neither a String nor a BigDecimal.
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.
'A Decimal128 can only be created from a String or BigDecimal.'.freeze
Instance Method Summary collapse
-
#message ⇒ String
private
Get the custom error message for the exception.
Instance Method Details
#message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get the custom error message for the exception.
260 261 262 |
# File 'lib/bson/decimal128.rb', line 260 def MESSAGE end |