(lambda (condition port)
(write-string "The port " port)
(write (access-condition condition 'PORT) port)
- (write-string " signalled an error:" port)
+ (write-string " signalled an error " port)
+ (write (access-condition condition 'CONDITION) port)
+ (write-string ":" port)
(newline port)
(write-condition-report (access-condition condition 'CONDITION)
port))))
(lambda (condition port)
(write-string "The file " port)
(write (access-condition condition 'FILENAME) port)
- (write-string " signalled an error:" port)
+ (write-string " signalled an error " port)
+ (write (access-condition condition 'CONDITION) port)
+ (write-string ":" port)
(newline port)
(write-condition-report (access-condition condition 'CONDITION)
port))))
(write-string " signalled " port)
(let ((condition (access-condition condition 'CONDITION)))
(write-string (if (condition/error? condition)
- "an error"
- "a condition")
+ "an error "
+ "a condition ")
port)
+ (write condition port)
(write-string ":" port)
(newline port)
(write-condition-report condition port)))))