Exception: Flux::FluxRuntimeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/superinstance/flux-runtime/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, opcode: nil, pc: nil)
  super(message)
  @opcode = opcode
  @pc = pc
end

Instance Attribute Details

#opcodeObject (readonly)

Returns the value of attribute opcode.



5
6
7
# File 'lib/superinstance/flux-runtime/exceptions.rb', line 5

def opcode
  @opcode
end

#pcObject (readonly)

Returns the value of attribute pc.



5
6
7
# File 'lib/superinstance/flux-runtime/exceptions.rb', line 5

def pc
  @pc
end