logic_error


A base exception type used to report logic errors.

Library

Standards<ToolKit>

Declaration


#include <stdexcept>

class logic_error : public exception

Interface

Constructor
logic_error( const string& description )
Constructs an exception to report a generic logic error, including the specific problem details from description .

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.