std::error_condition make_error_condition(LoaderErrorType e) { return std::error_condition(static_cast<int>(e), loaderCategory()); }
std::error_condition make_error_condition(LoaderError e) noexcept { return std::error_condition(static_cast<int>(e), loaderCategory()); }
std::error_code make_error_code(LoaderErrorType e) { return std::error_code(static_cast<int>(e), loaderCategory()); }