Dashboard › opencode › AIError reason ownership
01a08428-49e8-73a0-81d5-13b61d8ac237| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 11h ago |
Chose AIError as a wrapper around one tagged reason over duplicating error fields because each reason owns its readable message, category fields, optional original body, observed http, and underlying cause. Preserve body before decoding, never invent HTTP status/request IDs, and explicitly copy non-enumerable message and cause during reclassification.