Sign in
apache
/
rocketmq-client-cpp
/
6984b94343c75f5c5b6a7e945e1d45313409fbc8
/
.
/
src
/
main
/
cpp
/
base
/
ErrorCode.cpp
blob: b6e44dc2d2647fe07eaa2e530de94d7b295f31c5 [
file
] [
log
] [
blame
]
#include
"rocketmq/ErrorCategory.h"
ROCKETMQ_NAMESPACE_BEGIN
std
::
error_code make_error_code
(
ErrorCode
code
)
{
const
ErrorCategory
&
instance
=
ErrorCategory
::
instance
();
return
{
static_cast
<int>
(
code
),
instance
};
}
ROCKETMQ_NAMESPACE_END