GAIA 0.1.0
util
asio
error.h
1
// Copyright 2019, Beeri 15. All rights reserved.
2
// Author: Roman Gershman (romange@gmail.com)
3
//
4
#pragma once
5
6
#include <boost/system/system_error.hpp>
7
8
namespace
util {
9
10
enum class
gaia_error {
11
bad_header = 1,
12
invalid_version = 2,
13
};
14
15
::boost::system::error_code
16
make_error_code(gaia_error ev);
17
18
}
// namespace util
19
20
namespace
boost {
21
namespace
system {
22
template
<>
23
struct
is_error_code_enum<::util::gaia_error>
24
{
25
static
bool
const
value =
true
;
26
};
27
28
}
// system
29
}
// boost
Generated by
1.8.15