الفرق بين المراجعتين ل"Ruby/SystemStackError"
< Ruby
اذهب إلى التنقل
اذهب إلى البحث
(أنشأ الصفحة ب'<noinclude>{{DISPLAYTITLE: صفحة الصنف <code>SystemStackError</code> في روبي}}</noinclude> تصنيف: Ruby تصنيف: Ruby SystemStackError يُ...') |
|||
سطر 2: | سطر 2: | ||
[[تصنيف: Ruby]] | [[تصنيف: Ruby]] | ||
[[تصنيف: Ruby SystemStackError]] | [[تصنيف: Ruby SystemStackError]] | ||
− | يُطلق الاستثناء <code>SystemExit</code> | + | يُطلق الاستثناء <code>SystemExit</code> في حال امتلاء المُكدس (stack overflow).<syntaxhighlight lang="ruby"> |
− | + | def me_myself_and_i | |
− | + | me_myself_and_i | |
− | + | end | |
+ | me_myself_and_i | ||
+ | </syntaxhighlight>سيُطلق الاستثناء:<syntaxhighlight lang="ruby"> | ||
+ | SystemStackError: stack level too deep | ||
− | + | </syntaxhighlight> | |
− | |||
− | |||
− | |||
− | |||
==مصادر== | ==مصادر== | ||
*[http://ruby-doc.org/core-2.5.1/SystemStackError.html قسم الصنف SystemStackError في توثيق روبي الرسمي.] | *[http://ruby-doc.org/core-2.5.1/SystemStackError.html قسم الصنف SystemStackError في توثيق روبي الرسمي.] |
مراجعة 20:40، 4 نوفمبر 2018
يُطلق الاستثناء SystemExit
في حال امتلاء المُكدس (stack overflow).
def me_myself_and_i
me_myself_and_i
end
me_myself_and_i
سيُطلق الاستثناء:
SystemStackError: stack level too deep