morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::SchemaError Struct Reference

Why a schema does not read as a form: where, and why. More...

#include <rules.hpp>

Public Member Functions

bool operator== (SchemaError const &other) const =default
 Field-wise equality.

Public Attributes

std::string path
 Where in the schema: a dotted path such as properties.amount or x-rules[2].when.
std::string message
 Why, in one sentence.

Detailed Description

Why a schema does not read as a form: where, and why.

Definition at line 34 of file rules.hpp.

Member Function Documentation

◆ operator==()

bool morph::forms::SchemaError::operator== ( SchemaError const & other) const
default

Field-wise equality.

Parameters
otherThe error to compare with.
Returns
Whether both members are equal.

Member Data Documentation

◆ path

std::string morph::forms::SchemaError::path

Where in the schema: a dotted path such as properties.amount or x-rules[2].when.

Definition at line 36 of file rules.hpp.

◆ message

std::string morph::forms::SchemaError::message

Why, in one sentence.

Definition at line 38 of file rules.hpp.


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