Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

result-vs-exceptions

النجوم٩
التفرعات٢
آخر تحديث١٤ مايو ٢٠٢٦ في ٠٠:١٩

Code review guide for choosing between Result types and thrown exceptions. Recoverable, expected failures should be returned as Result values; only unrecoverable bugs and broken invariants should throw. Use when reviewing code that introduces a new error class, a new `throw`, a new `try/catch`, or a function whose failure path the caller is expected to handle.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly