Class: Packwerk::Parsers::Ruby::RaiseExceptionsParser

Inherits:
Prism::Translation::Parser
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/packwerk/parsers/ruby.rb

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ RaiseExceptionsParser

Returns a new instance of RaiseExceptionsParser.



18
19
20
21
# File 'lib/packwerk/parsers/ruby.rb', line 18

def initialize(builder)
  super(builder)
  super.diagnostics.all_errors_are_fatal = true
end