Exception: Domainic::Command::ExecutionError
- Defined in:
- lib/domainic/command/errors/execution_error.rb
Overview
Error class raised when a command encounters an execution failure. This class provides access to both the error message and the Result object containing detailed information about the failure.
Instance Attribute Summary collapse
-
#result ⇒ Result
readonly
The Result object containing detailed information about the execution failure.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ void
constructor
Creates a new execution error with the given message and result.
Constructor Details
#initialize(message, result) ⇒ void
Creates a new execution error with the given message and result
34 35 36 37 |
# File 'lib/domainic/command/errors/execution_error.rb', line 34 def initialize(, result) @result = result super() end |