Checking Errors

Originally posted here:

You can check for error messages on your functions by using:
(check-error (fun arg1 … argn) “fun: <err message>”)
See also: here