[doc] Add documentation about error-result.