[doc] Briefly document the error handling