19 lines
472 B
C++
19 lines
472 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Exception.hpp"
|
||
|
|
#include "src/Services/PathService.hpp"
|
||
|
|
|
||
|
|
namespace Exceptions
|
||
|
|
{
|
||
|
|
class InternalFatalErrorException: public Exception
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
explicit InternalFatalErrorException(const std::string& message)
|
||
|
|
: Exception(
|
||
|
|
"Internal fatal error - " + message + " - please report this via "
|
||
|
|
+ Services::PathService::homeDomainName() + "/report-issue"
|
||
|
|
)
|
||
|
|
{}
|
||
|
|
};
|
||
|
|
}
|