C++ Library - <stdexcept>



Introduction

It is an exception classes and this header defines a set of standard exceptions that both the library and programs can use to report common errors.

Classes

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.

Convenience interfaces

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.

Advertisements