class BSON::Error::InvalidDecimal128Argument
Raised when trying to create a Decimal128
from an object that is neither a String
nor a BigDecimal
.
Constants
- MESSAGE
-
The custom error message for this error.
Public Instance Methods
Source
# File lib/bson/error/invalid_decimal128_argument.rb, line 19 def message MESSAGE end
Get the custom error message for the exception.
@example Get the message.
error.message
@return [ String
] The error message.