Class: ScriptCore::EngineRuntimeError
- Inherits:
-
EngineScriptError
- Object
- ScriptCore::EngineRuntimeError
- Defined in:
- lib/script_core/engine_error.rb
Instance Attribute Summary collapse
-
#guest_backtrace ⇒ Object
readonly
Returns the value of attribute guest_backtrace.
Instance Method Summary collapse
-
#initialize(message, guest_backtrace:) ⇒ EngineRuntimeError
constructor
A new instance of EngineRuntimeError.
- #inspect ⇒ Object
Constructor Details
#initialize(message, guest_backtrace:) ⇒ EngineRuntimeError
Returns a new instance of EngineRuntimeError.
43 44 45 46 |
# File 'lib/script_core/engine_error.rb', line 43 def initialize(, guest_backtrace:) super() @guest_backtrace = guest_backtrace end |
Instance Attribute Details
#guest_backtrace ⇒ Object (readonly)
Returns the value of attribute guest_backtrace.
41 42 43 |
# File 'lib/script_core/engine_error.rb', line 41 def guest_backtrace @guest_backtrace end |
Instance Method Details
#inspect ⇒ Object
48 49 50 |
# File 'lib/script_core/engine_error.rb', line 48 def inspect "#<#{self.class.name}: #{message}: #{guest_backtrace.inspect}>" end |