3#include <tt/io/Message.h>
23 std::string
toString()
const override;
25 std::string
type()
const override {
30 void from_json(
const nlohmann::json& j, Error& msg);
31 void to_json(nlohmann::json& j,
const Error& msg);
std::string message
A message explaining the error.
Definition Error.h:19
std::string toString() const override
Returns a string representation of this object.
Definition Error.cpp:5
std::string type() const override
Type used for JSON deserialization.
Definition Error.h:25
Message()
Constructs a message.
Definition Message.h:32
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22