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.
25 26 27 |
# File 'lib/moped/errors.rb', line 25 def initialize(string) super("'#{string}' is not a valid object id.") end |