|
KiCad PCB EDA Suite
|
Collects JSON-schema validation errors so the caller can inspect them after a validation pass. More...
#include <remote_provider_utils.h>
Public Member Functions | |
| void | error (const nlohmann::json::json_pointer &aPointer, const nlohmann::json &aInstance, const std::string &aMessage) override |
| bool | HasErrors () const |
| wxString | FirstError () const |
Private Attributes | |
| std::vector< wxString > | m_errors |
Collects JSON-schema validation errors so the caller can inspect them after a validation pass.
Definition at line 67 of file remote_provider_utils.h.
|
override |
Definition at line 126 of file remote_provider_utils.cpp.
References m_errors.
| wxString COLLECTING_JSON_ERROR_HANDLER::FirstError | ( | ) | const |
Definition at line 137 of file remote_provider_utils.cpp.
References m_errors.
Referenced by REMOTE_PROVIDER_METADATA::FromJson(), and REMOTE_PROVIDER_PART_MANIFEST::FromJson().
|
inline |
Definition at line 73 of file remote_provider_utils.h.
References m_errors.
Referenced by REMOTE_PROVIDER_METADATA::FromJson(), and REMOTE_PROVIDER_PART_MANIFEST::FromJson().
|
private |
Definition at line 77 of file remote_provider_utils.h.
Referenced by error(), FirstError(), and HasErrors().