error-handling-rfc9457
Installation
SKILL.md
RFC 9457 Problem Details
Standardize API error responses with machine-readable problem details.
RFC 9457 vs RFC 7807
| Feature | RFC 7807 (Old) | RFC 9457 (Current) |
|---|---|---|
| Status | Obsolete | Active Standard |
| Multiple problems | Not specified | Explicitly supported |
| Error registry | No | Yes (IANA registry) |
| Extension fields | Implicit | Explicitly allowed |
Problem Details Schema
from pydantic import BaseModel, Field, HttpUrl
from typing import Any