11#include <wx/filename.h>
20 wxString path {
file };
21 auto sub = wxString{ wxFILE_SEP_PATH } +
"src" + wxFILE_SEP_PATH;
22 auto index = path.Find(sub);
23 if (index != wxNOT_FOUND)
24 path = path.Mid(index + sub.size());
28XO(
"Internal error in %s at %s line %d.\nPlease inform the Audacity team at https://forum.audacityteam.org/.")
32XO(
"Internal error at %s line %d.\nPlease inform the Audacity team at https://forum.audacityteam.org/.")
33 .Format( path,
line );
MessageBoxException for violation of preconditions or assertions.
TranslatableString ErrorMessage() const override
Format the error message for this exception.
~InconsistencyException() override
Holds a msgid for the translation catalog; may also bind format arguments.