#pragma once #include #include namespace lambda { class LambdaLibException : std::exception { public: std::string msg; LambdaLibException(std::string msg) : msg(std::move(msg)) {} inline const char* what() const noexcept override { return msg.c_str(); } }; } // namespace lambda