Exception: Flux::FluxRuntimeError
- Inherits:
-
StandardError
- Object
- StandardError
- Flux::FluxRuntimeError
- Defined in:
- lib/superinstance/flux-runtime/exceptions.rb
Direct Known Subclasses
DivideByZeroError, HaltError, MemoryAccessError, PanicError, UnknownOpcodeError, YieldError
Instance Attribute Summary collapse
-
#opcode ⇒ Object
readonly
Returns the value of attribute opcode.
-
#pc ⇒ Object
readonly
Returns the value of attribute pc.
Instance Method Summary collapse
-
#initialize(message, opcode: nil, pc: nil) ⇒ FluxRuntimeError
constructor
A new instance of FluxRuntimeError.
Constructor Details
#initialize(message, opcode: nil, pc: nil) ⇒ FluxRuntimeError
Returns a new instance of FluxRuntimeError.
7 8 9 10 11 |
# File 'lib/superinstance/flux-runtime/exceptions.rb', line 7 def initialize(, opcode: nil, pc: nil) super() @opcode = opcode @pc = pc end |
Instance Attribute Details
#opcode ⇒ Object (readonly)
Returns the value of attribute opcode.
5 6 7 |
# File 'lib/superinstance/flux-runtime/exceptions.rb', line 5 def opcode @opcode end |
#pc ⇒ Object (readonly)
Returns the value of attribute pc.
5 6 7 |
# File 'lib/superinstance/flux-runtime/exceptions.rb', line 5 def pc @pc end |