算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
common-error-handling【设计与创意】Cross-cutting standards for error design, response shapes, error codes, and boundary placement across API, domain, and infrastructure layers. Use when defining error hierarchies, wrapping exceptions, building standardized error responses, or placing error boundaries in layered architectures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
See implementation examples for standard error response shape.
fmt.Errorf("process: %w", err), new Error('msg', { cause })).SCREAMING_SNAKE_CASE IDs (ORDER_PAYMENT_FAILED).catch(e) {} without logging or re-throwing.400 with specific details for validation instead of 500.catch or silently ignore a failure. Log, wrap, rethrow, or map it deliberately at the correct boundary.