class BSON::Error::InvalidDecimal128String
Raised when trying to create a Decimal128
from a string with
an invalid format.
Constants
- MESSAGE
The custom error message for this error.
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.
# File lib/bson/error/invalid_decimal128_string.rb, line 20 def message MESSAGE end