Exception: Gherkin::CompositeParserException
- Inherits:
 - 
      ParserError
      
        
- Object
 - StandardError
 - ParserError
 - Gherkin::CompositeParserException
 
 
- Defined in:
 - lib/gherkin/errors.rb
 
Instance Attribute Summary collapse
- 
  
    
      #errors  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute errors.
 
Instance Method Summary collapse
- 
  
    
      #initialize(errors)  ⇒ CompositeParserException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CompositeParserException.
 
Constructor Details
#initialize(errors) ⇒ CompositeParserException
Returns a new instance of CompositeParserException.
      26 27 28 29  | 
    
      # File 'lib/gherkin/errors.rb', line 26 def initialize(errors) @errors = errors super "Parser errors:\n" + errors.map(&:message).join("\n") end  | 
  
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
      24 25 26  | 
    
      # File 'lib/gherkin/errors.rb', line 24 def errors @errors end  |