What a parse found beyond the spec itself. Always populated; read it. More...
#include <modal_spec.hpp>
Public Attributes | |
| std::string | error |
| Empty iff the parse succeeded. | |
| std::vector< std::string > | unknown_fields |
| Dotted paths of fields that were present, unrecognized, and ignored (see the unknown-field policy on parse_modal_spec). | |
What a parse found beyond the spec itself. Always populated; read it.
| std::string pulp::signal::ModalSpecDiagnostics::error |
Empty iff the parse succeeded.
Names the field and, for JSON syntax errors, the line and column.
| std::vector<std::string> pulp::signal::ModalSpecDiagnostics::unknown_fields |
Dotted paths of fields that were present, unrecognized, and ignored (see the unknown-field policy on parse_modal_spec).
A tool that round-trips specs should surface these — they will not survive.