class GraphQL::DateEncodingError
This error is raised when Types::ISO8601Date is asked to return a value that cannot be parsed to a Ruby Date.
See GraphQL::Types::ISO8601Date which raises this error
Attributes
The value which couldn’t be encoded
Public Class Methods
Source
# File lib/graphql/date_encoding_error.rb, line 12 def initialize(value) @date_value = value super("Date cannot be parsed: #{value}. \nDate must be able to be parsed as a Ruby Date object.") end
Calls superclass method