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
new(error = nil, message)
click to toggle source
Calls superclass method
# 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