LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::Client::Result Struct Reference

Returned by Tree operations; contain a status code and an error message. More...

#include <Client.h>

List of all members.

Public Member Functions

 Result ()
 Default constructor.

Public Attributes

Status status
 A code for whether an operation succeeded or why it did not.
std::string error
 If status is not OK, this is a human-readable message describing what went wrong.

Detailed Description

Returned by Tree operations; contain a status code and an error message.

Definition at line 223 of file Client.h.


Constructor & Destructor Documentation

Default constructor.

Sets status to OK and error to the empty string.

Definition at line 141 of file Client.cc.


Member Data Documentation

A code for whether an operation succeeded or why it did not.

This is meant to be used programmatically.

Definition at line 232 of file Client.h.

If status is not OK, this is a human-readable message describing what went wrong.

Definition at line 237 of file Client.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines