Exception: Moped::Errors::InvalidObjectId
- Defined in:
- lib/moped/errors.rb
Overview
Raised when providing an invalid string from an object id.
Instance Method Summary collapse
-
#initialize(string) ⇒ InvalidObjectId
constructor
Create the new error.
Constructor Details
#initialize(string) ⇒ InvalidObjectId
Create the new error.
28 29 30 |
# File 'lib/moped/errors.rb', line 28 def initialize(string) super("'#{string}' is not a valid object id.") end |