10 #include <string_view>
20 std::string errorMessage =
"HELICS EXCEPTION";
24 explicit HelicsException(std::string_view message) noexcept: errorMessage(message) {}
25 virtual const char* what()
const noexcept
override {
return errorMessage.c_str(); }
32 std::string_view message =
"HELICS execution failure") noexcept:
41 explicit InvalidIdentifier(std::string_view message =
"invalid identifier") noexcept:
50 explicit InvalidParameter(std::string_view message =
"invalid parameter") noexcept:
60 std::string_view message =
"unable to perform the requested conversion") noexcept:
78 explicit ConnectionFailure(std::string_view message =
"failed to connect") noexcept:
106 FederateError(
int errorCode, std::string_view message) noexcept: