clean up docs and remove the error handler in favor of onRequest try catch