cpp/error/error category

serves as the base class for specific error category types, such as std,, etc. Each specific category class defines the -  mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference.