[DEV-125] Add docs for error handling