|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Thrown by schema generation when a FieldMeta sets optionsAction without both valueField and labelField, or either of those without optionsAction: options need the action, the value field and the label field together. More...
#include <forms.hpp>
Public Member Functions | |
| IncompleteOptionsError (std::string_view actionName, std::string_view field, std::string_view missing) | |
| Constructs the error naming the action type, the member and what it lacks. | |
Thrown by schema generation when a FieldMeta sets optionsAction without both valueField and labelField, or either of those without optionsAction: options need the action, the value field and the label field together.
A programming error in the action's declaration, so a std::logic_error, thrown when the action registers.
|
inline |