.TH "std::error_category" 3cxx "Tue Jul 18 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::error_category .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBerror_category\fP (const \fBerror_category\fP &)=delete" .br .ti -1c .RI "virtual \fBerror_condition\fP \fBdefault_error_condition\fP (int __i) const noexcept" .br .ti -1c .RI "virtual bool \fBequivalent\fP (const \fBerror_code\fP &__code, int __i) const noexcept" .br .ti -1c .RI "virtual bool \fBequivalent\fP (int __i, const \fBerror_condition\fP &__cond) const noexcept" .br .ti -1c .RI "virtual \fBstring\fP \fBmessage\fP (int) const =0" .br .ti -1c .RI "virtual const char * \fBname\fP () const noexcept=0" .br .ti -1c .RI "bool \fBoperator!=\fP (const \fBerror_category\fP &__other) const noexcept" .br .ti -1c .RI "bool \fBoperator<\fP (const \fBerror_category\fP &__other) const noexcept" .br .ti -1c .RI "\fBerror_category\fP & \fBoperator=\fP (const \fBerror_category\fP &)=delete" .br .ti -1c .RI "bool \fBoperator==\fP (const \fBerror_category\fP &__other) const noexcept" .br .in -1c .SH "Detailed Description" .PP Abstract base class for types defining a category of error codes\&. .PP An error category defines a context that give meaning to the integer stored in an \fCerror_code\fP or \fCerror_condition\fP object\&. For example, the standard \fCerrno\fP constants such a \fCEINVAL\fP and \fCENOMEM\fP are associated with the 'generic' category and other OS-specific error numbers are associated with the 'system' category, but a user-defined category might give different meanings to the same numerical values\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.