Exception: GraphQL::Schema::Validator::ValidationFailedError
- Inherits:
- 
      ExecutionError
      
        - Object
- StandardError
- Error
- ExecutionError
- GraphQL::Schema::Validator::ValidationFailedError
 
- Defined in:
- lib/graphql/schema/validator.rb
Instance Attribute Summary collapse
- 
  
    
      #errors  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute errors. 
Attributes inherited from ExecutionError
#ast_node, #extensions, #options, #path
Instance Method Summary collapse
- 
  
    
      #initialize(errors:)  ⇒ ValidationFailedError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ValidationFailedError. 
Methods inherited from ExecutionError
Constructor Details
#initialize(errors:) ⇒ ValidationFailedError
Returns a new instance of ValidationFailedError.
| 110 111 112 113 | # File 'lib/graphql/schema/validator.rb', line 110 def initialize(errors:) @errors = errors super(errors.join(", ")) end | 
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
| 108 109 110 | # File 'lib/graphql/schema/validator.rb', line 108 def errors @errors end |