class BSON::Decimal128::InvalidString

Raised when trying to create a Decimal128 from a string with

an invalid format.

@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 287
def message
  MESSAGE
end