Skip to content

Instantly share code, notes, and snippets.

@Jacob-Tate
Created February 8, 2020 05:10
Show Gist options
  • Save Jacob-Tate/b9407e726fa91e55b1127557dc81ff67 to your computer and use it in GitHub Desktop.
Save Jacob-Tate/b9407e726fa91e55b1127557dc81ff67 to your computer and use it in GitHub Desktop.
#include <stdexcept>
class CrashHandlerException : public std::runtime_error
{
public:
explicit inline CrashHandlerException(const std::string& error_desc)
: std::runtime_error(error_desc) {}
};
class CrashHandlerFileCreate : public CrashHandlerException
{
public:
explicit inline CrashHandlerFileCreate(const std::string& error_desc)
: CrashHandlerException(error_desc) {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment