error -- r7rs Definition constructor;
Procedure variants:
(((message string)) -> (error-object))
message of type string;error-object;(((message string) (irritant any) |1...|) -> (error-object))
error-object;scheme:base -- (scheme base);scheme -- (scheme);(error message obj ...)Domain:
Messageshould be a string.Raises an exception as if by calling
raiseon a newly allocated implementation-defined object which encapsulates the information provided bymessage, as well as anyobjs, known as the irritants. The procedureerror-object?must return#ton such objects.(define (null-list? l) (cond ((pair? l) #f) ((null? l) #t) (else (error "null-list?: argument out of domain" l))))
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.