update docs to new style error handling