Files
sqlgen/include/sqlgen/Result.hpp
2025-04-01 08:17:35 +02:00

22 lines
328 B
C++

#ifndef SQLGEN_RESULT_HPP_
#define SQLGEN_RESULT_HPP_
#include <rfl.hpp>
#include <string>
namespace sqlgen {
using Error = rfl::Error;
using Nothing = rfl::Nothing;
template <class T>
using Result = rfl::Result<T>;
inline auto error(const std::string& _msg) { return rfl::error(_msg); }
}; // namespace sqlgen
#endif