bad_alloc

  • memory allocation failed

bad_cast

  • dynamic cast failed

logic_error

  • Parent class for error conditions resulting from a faulty logic

out_of_range

  • attempt to access an element outside of a defined length

invalid_argument

  • the argument to a function is not acceptable

domain_error

  • the argument to a function is outside the domain of applicable values

length_error

  • the length limit of an object is exceeded

runtime_error

  • parent class for error conditions beyond the program’s control

overflow_error

  • the result of a computation is too large for the result variable

underflow_error

  • the result of a floating-point computation is too small for the result variable

range_error

  • an internal computation gives a value which cannot be represented by the result variable