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:
HelicsException(message)
40 explicit InvalidIdentifier(std::string_view message =
"invalid identifier") noexcept:
49 explicit InvalidParameter(std::string_view message =
"invalid parameter") noexcept:
59 std::string_view message =
"unable to perform the requested conversion") noexcept:
77 explicit ConnectionFailure(std::string_view message =
"failed to connect") noexcept:
105 FederateError(
int errorCode, std::string_view message) noexcept:
Definition: core-exceptions.hpp:75
Definition: core-exceptions.hpp:102
Definition: core-exceptions.hpp:29
Definition: core-exceptions.hpp:18
Definition: core-exceptions.hpp:93
Definition: core-exceptions.hpp:56
Definition: core-exceptions.hpp:66
Definition: core-exceptions.hpp:38
Definition: core-exceptions.hpp:47
Definition: core-exceptions.hpp:84
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14