test-error

test-error [[test-name] error-type] test-expr

SRFI-64: assert that an error is signaled during the evaluation of test-expression. error-type indicates the type of error. If error-type is not specified or #t, it means some kind of exception should be raised. The value of error-type is implementation dependent. However all implementation must allows #t.

An implementation that cannot catch exceptions should skip test-error.