Exception: Synapse::Command::CommandExecutionError
- Inherits:
-
SynapseError
- Object
- RuntimeError
- SynapseError
- Synapse::Command::CommandExecutionError
- Defined in:
- lib/synapse/command/errors.rb
Overview
Raised when an error is raised during the handling of a command
Instance Attribute Summary collapse
- #cause ⇒ Exception readonly
Instance Method Summary collapse
- #initialize(cause) ⇒ undefined constructor
- #inspect ⇒ String
Constructor Details
#initialize(cause) ⇒ undefined
10 11 12 13 |
# File 'lib/synapse/command/errors.rb', line 10 def initialize(cause) @cause = cause set_backtrace cause.backtrace end |
Instance Attribute Details
#cause ⇒ Exception (readonly)
6 7 8 |
# File 'lib/synapse/command/errors.rb', line 6 def cause @cause end |
Instance Method Details
#inspect ⇒ String
16 17 18 |
# File 'lib/synapse/command/errors.rb', line 16 def inspect @cause.inspect end |