New error message

This commit is contained in:
Jay McCarthy 2012-06-25 15:59:02 -06:00
parent 7f1d0a9e3b
commit bc72ddd88a

View File

@ -6,6 +6,6 @@
(with-handlers ([exn? (λ (x) (exn-message x))])
(go 42)
(error 'go "Failed to throw exn"))
"application: wrong number of arguments\n procedure: go\n expected number of arguments: 0\n given number of arguments: 1\n arguments:\n 42")
"go: arity mismatch;\n the expected number of arguments does not match the given number\n expected: 0\n given: 1\n arguments...:\n 42")