|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Class of exceptions in cpp-msgpack-rpc library. More...
#include <msgpack_rpc/common/msgpack_rpc_exception.h>
Public Member Functions | |
| MsgpackRPCException (const MsgpackRPCException &) noexcept | |
| Copy constructor. | |
| MsgpackRPCException (MsgpackRPCException &&) noexcept | |
| Move constructor. | |
| MsgpackRPCException (Status status) | |
| Constructor. | |
| MsgpackRPCException (StatusCode code, std::string_view message) | |
| Constructor. | |
| ~MsgpackRPCException () override | |
| Destructor. | |
| MsgpackRPCException & | operator= (const MsgpackRPCException &) noexcept |
| Copy assignment operator. | |
| MsgpackRPCException & | operator= (MsgpackRPCException &&) noexcept |
| Move assignment operator. | |
| const Status & | status () const noexcept |
| Get the status. | |
Private Attributes | |
| Status | status_ |
| Error. | |
Class of exceptions in cpp-msgpack-rpc library.
Definition at line 35 of file msgpack_rpc_exception.h.
|
explicit |
| MsgpackRPCException::MsgpackRPCException | ( | StatusCode | code, |
| std::string_view | message ) |
Constructor.
| [in] | code | Status code. |
| [in] | message | Error message. |
Definition at line 30 of file msgpack_rpc_exception.cpp.
|
defaultnoexcept |
Copy assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
nodiscardnoexcept |
|
private |
Error.
Definition at line 93 of file msgpack_rpc_exception.h.