BILINGUAL WORD CARD · RANK 77

exception

🚨 Signal raised when an unexpected runtime event occurs

Event disrupting normal program flow.

中文对照 · Chinese

🚨 程序遇到除以 0 或越界时拉响的警报

可以被 `try / catch` 捕获并温和处理的错误事件。

Code example

throw runtime_error("Divide by 0");
Explore 100 bilingual word cards →