Raised when providing an invalid type to the Binary.
@since 2.0.0
Get the custom error message for the exception.
@example Get the message.
error.message
@return [ String ] The error message.
@since 2.0.0
# File lib/bson/binary.rb, line 164 def message "#{type.inspect} is not a valid binary type. " + "Please use one of #{SUBTYPES.keys.map(&:inspect).join(", ")}." end
Generated with the Darkfish Rdoc Generator 2.