\DOC ERR_outstream \TYPE {ERR_outstream : TextIO.outstream ref} \SYNOPSIS Reference to output stream used when printing {HOL_ERR} \KEYWORDS I/O, error, exceptions, output \DESCRIBE The value of reference cell {ERR_outstream} controls where {Raise} prints its argument. The default value of {ERR_outstream} is {TextIO.stdErr}. \EXAMPLE { - val ostrm = TextIO.openOut "foo"; > val ostrm = : outstream - ERR_outstream := ostrm; > val it = () : unit - Raise (mk_HOL_ERR "Foo" "bar" "incomprehensible input"); ! Uncaught exception: ! HOL_ERR - TextIO.closeOut ostrm; > val it = () : unit - val istrm = TextIO.openIn "foo"; > val istrm = : instream - print (TextIO.inputAll istrm); Exception raised at Foo.bar: incomprehensible input } \SEEALSO Feedback, Feedback.HOL_ERR, Feedback.Raise, Feedback.MESG_outstream, Feedback.WARNING_outstream. \ENDDOC