Exception: Yes::Core::ProcessManagers::Base::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Yes::Core::ProcessManagers::Base::Error
- Defined in:
- lib/yes/core/process_managers/base.rb
Overview
Error class for process manager failures, with optional extra context.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#extra ⇒ Hash
Additional error context.
Instance Method Summary collapse
-
#initialize(msg, extra: {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, extra: {}) ⇒ Error
Returns a new instance of Error.
24 25 26 27 |
# File 'lib/yes/core/process_managers/base.rb', line 24 def initialize(msg, extra: {}) @extra = extra super(msg) end |
Instance Attribute Details
#extra ⇒ Hash
Returns additional error context.
20 21 22 |
# File 'lib/yes/core/process_managers/base.rb', line 20 def extra @extra end |