Exception: GraphQL::Schema::Argument::InvalidDefaultValueError
- Inherits:
- 
      Error
      
        - Object
- StandardError
- Error
- GraphQL::Schema::Argument::InvalidDefaultValueError
 
- Defined in:
- lib/graphql/schema/argument.rb
Instance Method Summary collapse
- 
  
    
      #initialize(argument)  ⇒ InvalidDefaultValueError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InvalidDefaultValueError. 
Constructor Details
#initialize(argument) ⇒ InvalidDefaultValueError
Returns a new instance of InvalidDefaultValueError.
| 354 355 356 357 | # File 'lib/graphql/schema/argument.rb', line 354 def initialize(argument) = "`#{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() end |