#include <rpcService.hpp>
Public Member Functions | |
| RpcError (anch::rest::RpcCode code, const std::string &message=std::string()) | |
| anch::rest::RpcCode | getCode () const noexcept |
RPC error: raised by RPC handlers (sent to the client with its code and message) and by RPC clients
| anch::rest::RpcError::RpcError | ( | anch::rest::RpcCode | code, |
| const std::string & | message = std::string() ) |
RpcError constructor
| code | the status code |
| message | the message (sent to the client) |
|
noexcept |
Get status code