Change error reporting mechanism so that condition types have an
authorChris Hanson <org/chris-hanson/cph>
Tue, 21 Jun 1988 05:48:19 +0000 (05:48 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 21 Jun 1988 05:48:19 +0000 (05:48 +0000)
commitd9347eebe207b73cc66c6af019cdca983ba8433f
treeb86867f5a6e8f1010aea99c3742cdbebd7319859
parentdf5796ea2745a56e47d98d9d1894f72452ebf3f5
Change error reporting mechanism so that condition types have an
explicit reporting procedure.  This procedure receives the condition
and an output port as arguments and can do anything it likes.

New procedure `condition/internal?' is used to filter out complicated
conditions.  If handlers always ignore conditions satisfying this
predicate they will never have to do anything hairy.

`format-error-message' now takes a port as a third argument.
v7/src/runtime/error.scm