![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsystemerror_p.h>
Public Types | |
| enum | ErrorScope { NoError , StandardLibraryError , NativeError } |
Public Member Functions | |
| constexpr | QSystemError (int error, ErrorScope scope) |
| constexpr | QSystemError ()=default |
| QString | toString () const |
| constexpr ErrorScope | scope () const |
| constexpr int | error () const |
| constexpr bool | ok () const noexcept |
Static Public Member Functions | |
| static constexpr QSystemError | stdError (int error) |
| static Q_CORE_EXPORT QString | string (ErrorScope errorScope, int errorCode) |
| static Q_CORE_EXPORT QString | stdString (int errorCode=-1) |
Public Attributes | |
| int | errorCode = 0 |
| ErrorScope | errorScope = NoError |
Definition at line 23 of file qsystemerror_p.h.
| Enumerator | |
|---|---|
| NoError | |
| StandardLibraryError | |
| NativeError | |
Definition at line 26 of file qsystemerror_p.h.
|
inlineexplicitconstexpr |
Definition at line 33 of file qsystemerror_p.h.
References errorCode, and errorScope.
Referenced by stdError().
|
constexprdefault |
|
inlineconstexpr |
Definition at line 41 of file qsystemerror_p.h.
References errorCode.
|
inlineconstexprnoexcept |
Definition at line 43 of file qsystemerror_p.h.
References errorScope, and NoError.
|
inlineconstexpr |
Definition at line 40 of file qsystemerror_p.h.
References errorScope.
|
inlinestaticconstexpr |
Definition at line 44 of file qsystemerror_p.h.
References QSystemError(), and StandardLibraryError.
|
static |
Definition at line 126 of file qsystemerror.cpp.
|
static |
Definition at line 109 of file qsystemerror.cpp.
|
inline |
Definition at line 39 of file qsystemerror_p.h.
References errorCode, and errorScope.
| int QSystemError::errorCode = 0 |
Definition at line 59 of file qsystemerror_p.h.
Referenced by QSystemError(), error(), and toString().
| ErrorScope QSystemError::errorScope = NoError |
Definition at line 60 of file qsystemerror_p.h.
Referenced by QSystemError(), ok(), scope(), and toString().