Exception: Rubysh::Error::ExecError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/rubysh/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, raw_message, klass, caller) ⇒ ExecError

Returns a new instance of ExecError.



9
10
11
12
13
14
# File 'lib/rubysh/error.rb', line 9

def initialize(message, raw_message, klass, caller)
  super(message)
  @raw_message = raw_message
  @klass = klass
  @caller = caller
end

Instance Attribute Details

#callerObject

Exception klass and caller from the child process



7
8
9
# File 'lib/rubysh/error.rb', line 7

def caller
  @caller
end

#klassObject

Exception klass and caller from the child process



7
8
9
# File 'lib/rubysh/error.rb', line 7

def klass
  @klass
end

#raw_messageObject

Exception klass and caller from the child process



7
8
9
# File 'lib/rubysh/error.rb', line 7

def raw_message
  @raw_message
end