class Synapse::Command::CommandExecutionError

Raised when an error is raised during the handling of a command

Attributes

cause[R]

@return [Exception]

Public Class Methods

new(cause) click to toggle source

@param [Exception] cause @return [undefined]

# File lib/synapse/command/errors.rb, line 10
def initialize(cause)
  @cause = cause
  set_backtrace cause.backtrace
end

Public Instance Methods

inspect() click to toggle source

@return [String]

# File lib/synapse/command/errors.rb, line 16
def inspect
  @cause.inspect
end