class BSON::Error::IllegalKey
def initialize(string)
- Api: - private
Parameters:
-
string
(String
) -- The illegal string.
Other tags:
- Example: Instantiate the exception. -
def initialize(string) super("'#{string}' is an illegal key in MongoDB. Keys may not start with '$' or contain a '.'.") end