← wshobson/agents

/python-error-handling

寫程式wshobson/agentsAI翻譯

Python 錯誤處理模式,含輸入驗證、例外階層與部分失敗處理。用於實作驗證邏輯、設計例外策略、處理批次失敗或建立穩健的 API。

安裝次數
1.4 萬
專案星數
4.2 萬 ★
授權
MIT
專案更新
2026-11-02

怎麼裝

npx skills add https://github.com/wshobson/agents --skill python-error-handling

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.