Handbook
Glossary
print-error ( error -- )
Factor handbook
»
The language
»
Exception handling
»
The debugger
Next:
try ( quot -- )
Vocabulary
debugger
Inputs
error
an error
Outputs
None
Word description
Print an error to
output-stream
.
Notes
This word is called by the listener and other tools which report caught errors to the user.
Definition
USING:
continuations
io
kernel
namespaces
;
IN:
debugger
:
print-error
( error -- )
[
error.
flush
]
curry
[
[
"Error in print-error!"
print
drop
]
with-global
]
recover
;