class Mongoid::Errors::InvalidTime
a date or time.
This exception is raised when a bad value is attempted to be converted to
def initialize(value)
-
value(Object) -- The value that was attempted.
Other tags:
- Example: Create the new invalid date error. -
def initialize(value) super(compose_message("invalid_time", { value: value })) end