Exception: I18n::Tasks::CLI::ExecutionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- I18n::Tasks::CLI::ExecutionError
- Defined in:
- lib/i18n/tasks/cli.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize(message, exit_code) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Constructor Details
#initialize(message, exit_code) ⇒ ExecutionError
Returns a new instance of ExecutionError.
202 203 204 205 |
# File 'lib/i18n/tasks/cli.rb', line 202 def initialize(, exit_code) super() @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
200 201 202 |
# File 'lib/i18n/tasks/cli.rb', line 200 def exit_code @exit_code end |