Blink DB Documentation v1.0.0
Blink DB Documentation
Loading...
Searching...
No Matches
ValidationResult Class Reference

Holds the result of command validation. More...

#include <command_parser.hpp>

Public Member Functions

 ValidationResult ()
 Default constructor initializes the result to failure.

Public Attributes

bool success
 Indicates whether the validation was successful.
std::string errmsg
 Error message if validation failed.
std::string key
 Key associated with the command.
std::string value
 Value associated with the command.

Detailed Description

Holds the result of command validation.

The ValidationResult class encapsulates the outcome of a validation process, including whether it was successful, an error message (if any), and optional key-value pairs related to the validation.


The documentation for this class was generated from the following file: