stream-error-stream
condition ⇒ stream
condition | a condition of type stream-error. |
stream | a stream. |
Returns the offending stream of a condition of type stream-error.
(with-input-from-string (s "(FOO")
(handler-case (read s)
(end-of-file (c)
(format nil "~&End of file on ~S." (stream-error-stream c)))))
"End of file on #<String Stream>."