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



13
14
15
# File 'lib/spoom/sorbet/errors.rb', line 13

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