Class: Debugger::ExecError

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-debug-ide/xml_printer.rb

Direct Known Subclasses

MemoryLimitError, TimeLimitError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, backtrace = []) ⇒ ExecError

Returns a new instance of ExecError.


17
18
19
20
# File 'lib/ruby-debug-ide/xml_printer.rb', line 17

def initialize(message, backtrace = [])
  @message = message
  @backtrace = backtrace
end

Instance Attribute Details

#backtraceObject (readonly)

Returns the value of attribute backtrace.


15
16
17
# File 'lib/ruby-debug-ide/xml_printer.rb', line 15

def backtrace
  @backtrace
end

#messageObject (readonly)

Returns the value of attribute message.


14
15
16
# File 'lib/ruby-debug-ide/xml_printer.rb', line 14

def message
  @message
end