Skip to content

bloqade.lanes.bytecode.decode.DecodingError

← Module overview

classDecodingErrorsource

bloqade.lanes.bytecode.decode.DecodingError

Bases: Exception

Raised when the decoder fails.

Signature
class DecodingError(instruction_index: int, opcode_name: str, stack_snapshot: tuple[ir.SSAValue, ...], reason: str)

Carries the offending instruction’s index, opcode, and a snapshot of the virtual stack of SSA values at the point of failure.

Parameters

NameTypeDescription
instruction_indexint
opcode_namestr
stack_snapshottuple[ir.SSAValue, ...]
reasonstr

Attributes

NameTypeDescription
instruction_indexint
opcode_namestr
stack_snapshottuple[ir.SSAValue, ...]
reasonstr