返回 Skill 列表
extension
分类: 开发与工程无需 API Key

api-error-taxonomy

定义一致的API错误代码和响应。当中级开发人员需要错误标准化时使用。

person作者: jakexiaohubgithub

API Error Taxonomy

Purpose

Define consistent API error codes and responses.

Inputs to request

  • Current error responses and status usage.
  • Client expectations for retries and messaging.
  • Logging and observability requirements.

Workflow

  1. List common error categories and HTTP mappings.
  2. Define error payload shape and fields.
  3. Set guidelines for logging and client messaging.

Output

  • Error taxonomy table and examples.

Quality bar

  • Ensure errors are machine-parseable.
  • Align retryable vs non-retryable semantics.