Module: Spoom::Sorbet::Errors

Extended by:
T::Sig
Defined in:
lib/spoom/sorbet/errors.rb

Defined Under Namespace

Classes: Error, Parser

Constant Summary collapse

DEFAULT_ERROR_URL_BASE =
"https://srb.help/"

Class Method Summary collapse

Class Method Details

.sort_errors_by_code(errors) ⇒ Object


149
150
151
# File 'lib/spoom/sorbet/errors.rb', line 149

def self.sort_errors_by_code(errors)
  errors.sort_by { |e| [e.code, e.file, e.line, e.message] }
end