Exception: Packwerk::Parsers::ParseError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/packwerk/parsers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ ParseError

Returns a new instance of ParseError.



20
21
22
23
# File 'lib/packwerk/parsers.rb', line 20

def initialize(result)
  super(result.message)
  @result = result
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



17
18
19
# File 'lib/packwerk/parsers.rb', line 17

def result
  @result
end