|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Why a draft does not encode: a stable code and the message shown beside the field. More...
#include <values.hpp>
Public Member Functions | |
| bool | operator== (FieldError const &other) const =default |
| Member-wise equality. | |
Public Attributes | |
| std::string | code |
| One of malformed, too-precise, below-minimum, above-maximum, not-a-multiple, not-an-option, out-of-range, incomplete, unrepresentable. | |
| std::string | message |
| The message, resolved through the session's translations (key morph.forms.error. followed by the code), else the English text. | |
Why a draft does not encode: a stable code and the message shown beside the field.
Definition at line 37 of file values.hpp.
|
default |
Member-wise equality.
| other | The other error. |
| std::string morph::forms::FieldError::code |
One of malformed, too-precise, below-minimum, above-maximum, not-a-multiple, not-an-option, out-of-range, incomplete, unrepresentable.
Definition at line 40 of file values.hpp.
| std::string morph::forms::FieldError::message |
The message, resolved through the session's translations (key morph.forms.error. followed by the code), else the English text.
Definition at line 43 of file values.hpp.