mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-01 06:59:42 -06:00
22 lines
328 B
C++
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
|
|
|