api-error-handling doc: typofix