error handler

was playing around on the new-syntax branch, I believe this would be how to call the error.