class BSON::Decimal128::InvalidArgument
Raised when trying to create a Decimal128
from an object that is neither a String
nor a BigDecimal
.
@api private
@since 4.2.0
Constants
- MESSAGE
The custom error message for this error.
@since 4.2.0
Public Instance Methods
message()
click to toggle source
Get the custom error message for the exception.
@example Get the message.
error.message
@return [ String
] The error message.
@since 4.2.0
# File lib/bson/decimal128.rb, line 286 def message MESSAGE end