Name
bgerror
— Called for background task errors.
Description
Hecl calls bgerror when there is a
problem in a background task (created with the
after command, for instance).
Example
hecl> proc bgerror {msg} { puts "Houston, we have a problem: $msg" }
hecl> after 1 { beebop }
timer#7
Produces:
Houston, we have a problem: Command beebop does not exist