#pragma once #include #include #include #include namespace Hsdbg { template using Result = std::expected; template auto fail(std::format_string fmt, Args&&... args) -> std::unexpected { return std::unexpected(std::format(fmt, std::forward(args)...)); } }