Exception classes that are thrown to indicate a user error.
Exception classes that are thrown to indicate a user error.
Programmatic errors or deviations from the expected behavior of internal API conventions should never be handles by using exceptions, but C++ asserts should be used for such cases.