Mercurial > foo_out_sdl
comparison foosdk/sdk/foobar2000/SDK/exceptions.h @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e9bb126753e7 | 1:20d02a178406 |
|---|---|
| 1 #pragma once | |
| 2 //! Base class for exceptions that should show a human readable message when caught in app entrypoint function rather than crash and send a crash report. | |
| 3 PFC_DECLARE_EXCEPTION(exception_messagebox,pfc::exception,"Internal Error"); | |
| 4 | |
| 5 //! Base class for exceptions that should result in a quiet app shutdown. | |
| 6 PFC_DECLARE_EXCEPTION(exception_shutdownrequest,pfc::exception,"Shutdown Request"); | |
| 7 | |
| 8 | |
| 9 PFC_DECLARE_EXCEPTION(exception_installdamaged, exception_messagebox, "Internal error - one or more of the installed components have been damaged; please run the foobar2000 installer again."); | |
| 10 PFC_DECLARE_EXCEPTION(exception_osfailure, exception_messagebox, "Internal error - broken Windows installation?"); | |
| 11 PFC_DECLARE_EXCEPTION(exception_out_of_resources, exception_messagebox, "Not enough system resources available."); | |
| 12 | |
| 13 PFC_DECLARE_EXCEPTION(exception_configdamaged, exception_messagebox, "Internal error - configuration files are unreadable."); |
