class BSON::Decimal128::InvalidRange
Raised when the exponent or significand provided is outside the valid range.
@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 312 def message MESSAGE end