MCPcopy Create free account
hub / github.com/audacity/audacity / ShowLoadFailureError

Method ShowLoadFailureError

libraries/lib-module-manager/ModuleManager.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void Module::ShowLoadFailureError(const wxString &Error)
88{
89 auto ShortName = wxFileName(mName).GetName();
90 DoMessageBox(
91 XO("Unable to load the \"%s\" module.\n\nError: %s")
92 .Format(ShortName, Error));
93 wxLogMessage(wxT("Unable to load the module \"%s\". Error: %s"), mName, Error);
94}
95
96bool Module::Load(wxString &deferredErrorMessage)
97{

Callers 1

InitializeMethod · 0.80

Calls 3

DoMessageBoxFunction · 0.70
wxFileNameClass · 0.50
GetNameMethod · 0.45

Tested by

no test coverage detected