25#include <fmt/format.h>
32 msgpack::object
object, std::shared_ptr<msgpack::zone> zone)
35 "An error in a server: {}",
util::format_msgpack_object(
object))),
Class of exceptions specifying errors in servers.
ServerException(msgpack::object object, std::shared_ptr< msgpack::zone > zone)
Constructor.
msgpack::object object_
Object in msgpack library specifying the error.
std::shared_ptr< msgpack::zone > zone_
Zone in msgpack library.
const msgpack::object & object() const noexcept
Get the object in msgpack library.
Class of exceptions in cpp-msgpack-rpc library.
Namespace of fmt library.
StatusCode
Enumeration of status codes.
Definition of ServerException class.