1. Glossaryفەرهەنگی زاراوەکان
Exception
هەڵاوێردە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

An object that a program raises (throws) when something goes wrong while it runs. It stops normal execution unless the code catches it, with try/except in Python or try/catch in PHP, Java and C#.

ئۆبجێکتێکە کە لە کاتی جێبەجێبووندا دروستی دەکات کاتێک شتێک هەڵە دەچێت. جێبەجێکردنی ئاسایی دەوەستێنێت مەگەر کۆدەکە بیگرێت: بە try/except لە Pythonـدا یان try/catch لە PHP، Java و ⁦C#⁩ـدا.

Exampleنموونە

The user sees a friendly message instead of the raw error.

بەکارهێنەر لە جیاتی هەڵە خاوەکە پەیامێکی ئاسان دەبینێت.

try {
    $conn = new mysqli("localhost", "root", "wrong", "shop");
} catch (mysqli_sql_exception $e) {
    echo "Could not connect. Please try later.";
}

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

ئێکسێپشن، ئیستیسنا، هەڵاوێردەکە، هەڵاوێردەکان، هەڵاوێردەیەک، هەڵاوێردەی، هەڵاوێردەکانی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

هەڵاوێردە is the ordinary Kurdish word for "exception"; many programmers keep the loanword ئێکسێپشن.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

Exceptions in Python || Python Tutorial || Learn Python ProgrammingSocratica · Englishئینگلیزی · 292K viewsبینین · 9.5K likesلایک · Partبەشی 0:45–4:32 (ofلە 9:01)
OOP Error Handling In PHP - Exceptions & Try Catch Finally Blocks - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 41K viewsبینین · 1.7K likesلایک · Partبەشی 0:00–14:12 (ofلە 21:17)

What exceptions are in PHP 8, how to throw them, and how try, catch and finally work.

لە 8دا چین، چۆن بە throw فڕێیان دەدەیت و try، catch و finally چۆن کار دەکەن.

Learn more inزیاتر فێربە لە