Defined in header
Defines a type of object to be thrown as exception. It reports errors that are consequence of attempt to exceed implementation defined length limits for some object.
explicit length_error( const std::string& what_arg );
explicit length_error( const char* what_arg );
Constructs the exception object with
what_arg as explanatory string that can be accessed through what().