class BSON::Error::InvalidDecimal128Argument

Raised when trying to create a Decimal128 from an object that is neither a String nor a BigDecimal.

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_argument.rb, line 19
def message
  MESSAGE
end