Exception: Rubysh::Error::ExecError
- Defined in:
- lib/rubysh/error.rb
Instance Attribute Summary collapse
-
#caller ⇒ Object
Exception klass and caller from the child process.
-
#klass ⇒ Object
Exception klass and caller from the child process.
-
#raw_message ⇒ Object
Exception klass and caller from the child process.
Instance Method Summary collapse
-
#initialize(message, raw_message, klass, caller) ⇒ ExecError
constructor
A new instance of ExecError.
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(, , klass, caller) super() @raw_message = @klass = klass @caller = caller end |
Instance Attribute Details
#caller ⇒ Object
Exception klass and caller from the child process
7 8 9 |
# File 'lib/rubysh/error.rb', line 7 def caller @caller end |
#klass ⇒ Object
Exception klass and caller from the child process
7 8 9 |
# File 'lib/rubysh/error.rb', line 7 def klass @klass end |
#raw_message ⇒ Object
Exception klass and caller from the child process
7 8 9 |
# File 'lib/rubysh/error.rb', line 7 def @raw_message end |