class I18n::Tasks::CommandError
When this type of error is caught:
-
show error message of the backtrace
-
exit with non-zero exit code
Public Class Methods
Source
# File lib/i18n/tasks/command_error.rb, line 9 def initialize(error = nil, message) # rubocop:disable Style/OptionalArguments super(message) set_backtrace error.backtrace if error end
Calls superclass method