26 catch (
const std::exception&
error)
33 Log::Error(
"Unhandled non-standard exception in a host event.");
Owns one registration and releases it on destruction.
Subscription HostSubscription(IPluginEvents &events, uint64_t token)
void Error(std::format_string< Args... > fmt, Args &&... args)
static std::string ReadFile(const std::filesystem::path &path)
std::expected< T, Error > Result
static Result Call(void *owner, Args... args) noexcept