.TH "std::system_error" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::system_error \- Thrown to indicate error code of underlying system\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::runtime_error\fP\&. .PP Inherited by std::experimental::filesystem::v1::filesystem_error\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBsystem_error\fP (\fBconst\fP \fBsystem_error\fP &)=\fBdefault\fP" .br .ti -1c .RI "\fBsystem_error\fP (\fBerror_code\fP \fB__ec\fP, \fBconst\fP char *\fB__what\fP)" .br .ti -1c .RI "\fBsystem_error\fP (\fBerror_code\fP \fB__ec\fP, \fBconst\fP \fBstring\fP &\fB__what\fP)" .br .ti -1c .RI "\fBsystem_error\fP (\fBerror_code\fP \fB__ec\fP=\fBerror_code\fP())" .br .ti -1c .RI "\fBsystem_error\fP (int \fB__v\fP, \fBconst\fP \fBerror_category\fP &\fB__ecat\fP)" .br .ti -1c .RI "\fBsystem_error\fP (int \fB__v\fP, \fBconst\fP \fBerror_category\fP &\fB__ecat\fP, \fBconst\fP char *\fB__what\fP)" .br .ti -1c .RI "\fBsystem_error\fP (int \fB__v\fP, \fBconst\fP \fBerror_category\fP &\fB__ecat\fP, \fBconst\fP \fBstring\fP &\fB__what\fP)" .br .ti -1c .RI "\fBconst\fP \fBerror_code\fP & \fBcode\fP () \fBconst\fP \fBnoexcept\fP" .br .ti -1c .RI "\fBsystem_error\fP & \fBoperator=\fP (\fBconst\fP \fBsystem_error\fP &)=\fBdefault\fP" .br .ti -1c .RI "\fBvirtual\fP \fBconst\fP char * \fBwhat\fP () \fBconst\fP _GLIBCXX_TXN_SAFE_DYN \fBnoexcept\fP" .br .in -1c .SH "Detailed Description" .PP Thrown to indicate error code of underlying system\&. .PP Definition at line \fB341\fP of file \fBsystem_error\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "std::system_error::system_error (\fBerror_code\fP __ec = \fC\fBerror_code\fP()\fP)\fC [inline]\fP" .PP Definition at line \fB347\fP of file \fBsystem_error\fP\&. .SS "std::system_error::system_error (\fBerror_code\fP __ec, \fBconst\fP \fBstring\fP & __what)\fC [inline]\fP" .PP Definition at line \fB350\fP of file \fBsystem_error\fP\&. .SS "std::system_error::system_error (\fBerror_code\fP __ec, \fBconst\fP char * __what)\fC [inline]\fP" .PP Definition at line \fB353\fP of file \fBsystem_error\fP\&. .SS "std::system_error::system_error (int __v, \fBconst\fP \fBerror_category\fP & __ecat, \fBconst\fP char * __what)\fC [inline]\fP" .PP Definition at line \fB356\fP of file \fBsystem_error\fP\&. .SS "std::system_error::system_error (int __v, \fBconst\fP \fBerror_category\fP & __ecat)\fC [inline]\fP" .PP Definition at line \fB359\fP of file \fBsystem_error\fP\&. .SS "std::system_error::system_error (int __v, \fBconst\fP \fBerror_category\fP & __ecat, \fBconst\fP \fBstring\fP & __what)\fC [inline]\fP" .PP Definition at line \fB363\fP of file \fBsystem_error\fP\&. .SH "Member Function Documentation" .PP .SS "\fBconst\fP \fBerror_code\fP & std::system_error::code () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB375\fP of file \fBsystem_error\fP\&. .SS "\fBvirtual\fP \fBconst\fP char * std::runtime_error::what () const\fC [virtual]\fP, \fC [noexcept]\fP, \fC [inherited]\fP" Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor)\&. .PP Reimplemented from \fBstd::exception\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.