Exception: BSON::Error::InvalidDecimal128Range

Inherits:
BSON::Error
  • Object
show all
Defined in:
lib/bson/error/invalid_decimal128_range.rb

Overview

Raised when the exponent is outside the valid range.

Constant Summary collapse

MESSAGE =
Deprecated.

The custom error message for this error.

'Value out of range for Decimal128 representation.'

Instance Method Summary collapse

Instance Method Details

#messageString

Get the custom error message for the exception.

Examples:

Get the message.

error.message

Returns:

  • (String)

    The error message.



21
22
23
# File 'lib/bson/error/invalid_decimal128_range.rb', line 21

def message
  MESSAGE
end