Exception: Ruleby::Core::ProcessInvocationError
- Inherits:
-
StandardError
- Object
- StandardError
- Ruleby::Core::ProcessInvocationError
- Defined in:
- lib/core/utils.rb
Overview
Appearently Ruby doesn’t have any kind of Exception chaining. So this class will have fill the gap for Ruleby.
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(root_cause) ⇒ ProcessInvocationError
constructor
A new instance of ProcessInvocationError.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(root_cause) ⇒ ProcessInvocationError
Returns a new instance of ProcessInvocationError.
25 26 27 |
# File 'lib/core/utils.rb', line 25 def initialize(root_cause) @root_cause = root_cause end |
Instance Method Details
#backtrace ⇒ Object
29 30 31 |
# File 'lib/core/utils.rb', line 29 def backtrace @root_cause.backtrace end |
#inspect ⇒ Object
33 34 35 |
# File 'lib/core/utils.rb', line 33 def inspect @root_cause.inspect end |
#to_s ⇒ Object
37 38 39 |
# File 'lib/core/utils.rb', line 37 def to_s @root_cause.to_s end |