Exception: Moped::Errors::InvalidObjectId
- Inherits:
-
StandardError
- Object
- StandardError
- 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.
40 41 42 |
# File 'lib/moped/errors.rb', line 40 def initialize(string) super("'#{string}' is not a valid object id.") end |