KOS_OP_EXCEPTION
Style: NOARG.
Stack:
[...] → [..., exception]. Push current exception (in handler).Invariants: Used when an exception is being handled.
Example: In except block: load current exception.
index |
opcode |
arg |
arg view |
comment |
|---|---|---|---|---|
2 |
EXCEPTION |
0 |
0 |
stack: […, exc] |
3 |
VAR_STORE |
0 |
0 (e) |
store exc in name “e” |