MCPcopy Create free account
hub / github.com/amule-project/amule / GetErrMsg

Function GetErrMsg

src/ThreadScheduler.cpp:124–136  ·  view source on GitHub ↗

Returns string representation of error code. */

Source from the content-addressed store, hash-verified

122
123/** Returns string representation of error code. */
124static wxString GetErrMsg(wxThreadError err)
125{
126 switch (err) {
127 case wxTHREAD_NO_ERROR: return "wxTHREAD_NO_ERROR";
128 case wxTHREAD_NO_RESOURCE: return "wxTHREAD_NO_RESOURCE";
129 case wxTHREAD_RUNNING: return "wxTHREAD_RUNNING";
130 case wxTHREAD_NOT_RUNNING: return "wxTHREAD_NOT_RUNNING";
131 case wxTHREAD_KILLED: return "wxTHREAD_KILLED";
132 case wxTHREAD_MISC_ERROR: return "wxTHREAD_MISC_ERROR";
133 default:
134 return "Unknown error";
135 }
136}
137
138
139void CThreadScheduler::CreateSchedulerThread()

Callers 1

CreateSchedulerThreadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected