MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Throw

Method Throw

Libraries/unrar/errhnd.cpp:316–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315
316void ErrorHandler::Throw(RAR_EXIT Code)
317{
318 if (Code==RARX_USERBREAK && !EnableBreak)
319 return;
320#if !defined(SILENT)
321 // Do not write "aborted" when just displaying online help.
322 if (Code!=RARX_SUCCESS && Code!=RARX_USERERROR)
323 mprintf(L"\n%s\n",St(MProgAborted));
324#endif
325 SetErrorCode(Code);
326 throw Code;
327}
328
329
330bool ErrorHandler::GetSysErrMsg(wchar *Msg,size_t Size)

Callers

nothing calls this directly

Calls 2

StFunction · 0.85
mprintfFunction · 0.70

Tested by

no test coverage detected