import { Scope } from "./scope" export type ExceptionHandler = { catchAddress: number // Where to jump when exception is caught finallyAddress?: number // Where to jump for `finally` block callStackDepth: number // Call stack depth when handler was pushed scope: Scope // Scope to restore when catching }