identifies the current errorstream.
current_error/1 unifies Stream with the current errorstream.
Stream stream
current_error(S). Succeeds with substitution S <- user_error.
This predicate is not part of the ISO-Prolog Standard.
Up read on...