25#include "msgpack_rpc/impl/msgpack_rpc_export.h"
Namespace of common classes and functions.
std::string_view format_status_code(StatusCode code) noexcept
Format a status code.
StatusCode
Enumeration of status codes.
@ SERVER_ERROR
Error in servers.
@ TYPE_ERROR
Invalid types in a message.
@ INVALID_MESSAGE
Failure in parsing a message.
@ HOST_UNRESOLVED
Failure in resolving a host.
@ PRECONDITION_NOT_MET
Pre-condition for a process is not met.
@ OPERATION_ABORTED
Operation was aborted by user.
@ CONNECTION_FAILURE
Failure in connecting to an endpoint.
@ OPERATION_FAILURE
Operation failed. (Mainly for OS calls.)
@ UNEXPECTED_ERROR
Unexpected errors. (Maybe a bug.)
@ INVALID_ARGUMENT
Invalid arguments in functions.
Namespace of cpp-msgpack-rpc library.