lib/cli/kit.rb in cli-kit-3.3.0 vs lib/cli/kit.rb in cli-kit-4.0.0
- old
+ new
@@ -49,10 +49,10 @@
# failure, etc.?
# * One case where it's ok to rescue (cli-kit internals or tests aside):
# 1. rescue Abort or Bug
# 2. Print a contextualized error message
# 3. Re-raise AbortSilent or BugSilent respectively.
- GenericAbort = Class.new(Exception)
+ GenericAbort = Class.new(Exception) # rubocop:disable Lint/InheritException
Abort = Class.new(GenericAbort)
Bug = Class.new(GenericAbort)
BugSilent = Class.new(GenericAbort)
AbortSilent = Class.new(GenericAbort)
end