(C++) std::logic\_error
January 11, 2018 · View on GitHub
(C++) std::logic_error
An exception that theoretically can be detected by reading the code (opposite of the std::runtime_error, that cannot be detected).
In the exception hierarchy, std::logic_error has std::exception as its base class.
std::logic_error is the base class of std::domain_error, std::invalid_argument, std::length_error and std::out_of_range.
External links