Each thread has its own errordict, which is used by default by the error handling machinery.
Input(s) Op/Proc/Var Output(s) |
Description |
- handleerror - |
Print a state dump. |
- stop - |
Last operation during error handling. |
onyx:0> {true {true 1 sprint x y} if} eval true Error $undefined ostack: () dstack: (-dict- -dict- -dict- -dict-) cstack: () estack/istack trace (0..5): 0: x 1: { true 1 sprint 3:--> x y } 2: --if-- 3: --eval-- 4: -file- 5: --start-- onyx:1> errordict begin handleerror end Error $undefined ostack: () dstack: (-dict- -dict- -dict- -dict-) cstack: () estack/istack trace (0..5): 0: x 1: { true 1 sprint 3:--> x y } 2: --if-- 3: --eval-- 4: -file- 5: --start-- onyx:1>
onyx:0> errordict begin onyx:0> $stop {`Custom stop\n' print flush quit} def onyx:0> x Error $undefined ostack: () dstack: (-dict- -dict- -dict- -dict- -dict-) cstack: () estack/istack trace (0..2): 0: x 1: -file- 2: --start-- Custom stop