📜  C++库-

📅  最后修改于: 2020-12-15 04:26:34             🧑  作者: Mango


介绍

它是一个异常类,此标头定义了一组标准异常,库和程序都可以使用这些异常来报告常见错误。

班级

Sr.No. Logic error & description
1 logic_error

It is a logic error exception.

2 domain_error

It is a domain error exception.

3 invalid_argument

It is an invalid argument exception.

4 length_error

It is a length error exception.

5 out_of_range

It is an out-of-range exception.

便捷界面

Sr.No. Interface & description
1 runtime_error

It is a runtime error exception.

2 range_error

It is a range error exception.

3 overflow_error

It is an overflow error exception.

4 underflow_error

It is an underflow error exception.