class BSON::Error::UnrepresentablePrecision

Raised when the significand provided is outside the valid range.

Public Instance Methods

message() click to toggle source

Get the custom error message for the exception.

@return [ String ] The error message.

# File lib/bson/error/unrepresentable_precision.rb, line 13
def message
  'The value contains too much precision for Decimal128 representation'
end