class GraphQL::Schema::Argument::InvalidDefaultValueError

Public Class Methods

new(argument) click to toggle source
Calls superclass method
# File lib/graphql/schema/argument.rb, line 356
def initialize(argument)
  message = "`#{argument.path}` has an invalid default value: `#{argument.default_value.inspect}` isn't accepted by `#{argument.type.to_type_signature}`; update the default value or the argument type."
  super(message)
end