We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f2a171 commit 2ac3eb3Copy full SHA for 2ac3eb3
assert.scm
@@ -6,8 +6,10 @@
6
(include "assert-r5rs.scm")
7
8
(define (-error->string ex)
9
- (cond ((symbol? ex) (symbol->string ex))
+ (cond ((null? ex) "")
10
((string? ex) ex)
11
+ ((symbol? ex) (symbol->string ex))
12
+ ((list? ex) (string-append " (" (apply string-append (map -error->string ex)) ")"))
13
;; Gambit specific code
14
((error-exception? ex) (-error->string (error-exception-message ex)))
15
((unbound-global-exception? ex) (-error->string (unbound-global-exception-variable ex))) ; variable name
0 commit comments