cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
status_code.h File Reference

Definition of StatusCode enumeration. More...

#include <cstdint>
#include <string_view>
#include "msgpack_rpc/impl/msgpack_rpc_export.h"
Include dependency graph for status_code.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::common
 Namespace of common classes and functions.

Enumerations

enum class  msgpack_rpc::common::StatusCode : std::uint8_t {
  msgpack_rpc::common::SUCCESS = 0 , msgpack_rpc::common::INVALID_ARGUMENT , msgpack_rpc::common::INVALID_MESSAGE , msgpack_rpc::common::TYPE_ERROR ,
  msgpack_rpc::common::PRECONDITION_NOT_MET , msgpack_rpc::common::OPERATION_ABORTED , msgpack_rpc::common::OPERATION_FAILURE , msgpack_rpc::common::HOST_UNRESOLVED ,
  msgpack_rpc::common::CONNECTION_FAILURE , msgpack_rpc::common::TIMEOUT , msgpack_rpc::common::SERVER_ERROR , msgpack_rpc::common::UNEXPECTED_ERROR
}
 Enumeration of status codes. More...

Functions

std::string_view msgpack_rpc::common::format_status_code (StatusCode code) noexcept
 Format a status code.

Detailed Description

Definition of StatusCode enumeration.

Definition in file status_code.h.