Skip to content

Commit

Permalink
Make all errors raised by spoom subclass Spoom::Error
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Terrasa <[email protected]>
  • Loading branch information
Morriar committed Jul 5, 2024
1 parent 2a8b445 commit cc39acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/spoom/sorbet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

module Spoom
module Sorbet
class Error < StandardError
class Error < Spoom::Error
extend T::Sig

class Killed < Error; end
Expand Down
2 changes: 1 addition & 1 deletion lib/spoom/sorbet/lsp/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

module Spoom
module LSP
class Error < StandardError
class Error < Spoom::Error
class AlreadyOpen < Error; end
class BadHeaders < Error; end

Expand Down

0 comments on commit cc39acc

Please sign in to comment.