This exception is raised when a bad value is attempted to be converted to a date or time.
Create the new invalid date error.
@example Create the new invalid date error.
InvalidTime.new("this is not a time")
@param [ Object ] value The value that was attempted.
@since 2.3.1
# File lib/mongoid/errors/invalid_time.rb, line 16 def initialize(value) super(compose_message("invalid_time", { value: value })) end
Generated with the Darkfish Rdoc Generator 2.