ERR_outstream : TextIO.outstream ref
The default value of ERR_outstream is TextIO.stdErr.
- val ostrm = TextIO.openOut "foo"; > val ostrm = <outstream> : 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> : instream - print (TextIO.inputAll istrm); Exception raised at Foo.bar: incomprehensible input