KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LOGGING_ERROR_HANDLER Class Reference

#include <api_plugin.h>

Inheritance diagram for LOGGING_ERROR_HANDLER:

Public Member Functions

 LOGGING_ERROR_HANDLER ()
 
bool HasError () const
 
const wxString & ErrorMessage () const
 
void error (const nlohmann::json::json_pointer &ptr, const nlohmann::json &instance, const std::string &message) override
 

Private Attributes

bool m_hasError
 
wxString m_errorMessage
 

Detailed Description

Definition at line 141 of file api_plugin.h.

Constructor & Destructor Documentation

◆ LOGGING_ERROR_HANDLER()

LOGGING_ERROR_HANDLER::LOGGING_ERROR_HANDLER ( )

Definition at line 35 of file api_plugin.cpp.

References m_hasError.

Member Function Documentation

◆ error()

void LOGGING_ERROR_HANDLER::error ( const nlohmann::json::json_pointer & ptr,
const nlohmann::json & instance,
const std::string & message )
override

Definition at line 41 of file api_plugin.cpp.

References _, location, m_errorMessage, m_hasError, and traceApi.

◆ ErrorMessage()

const wxString & LOGGING_ERROR_HANDLER::ErrorMessage ( ) const
inline

Definition at line 148 of file api_plugin.h.

References m_errorMessage.

Referenced by API_PLUGIN_CONFIG::API_PLUGIN_CONFIG().

◆ HasError()

bool LOGGING_ERROR_HANDLER::HasError ( ) const
inline

Definition at line 146 of file api_plugin.h.

References m_hasError.

Referenced by API_PLUGIN_CONFIG::API_PLUGIN_CONFIG().

Member Data Documentation

◆ m_errorMessage

wxString LOGGING_ERROR_HANDLER::m_errorMessage
private

Definition at line 155 of file api_plugin.h.

Referenced by error(), and ErrorMessage().

◆ m_hasError

bool LOGGING_ERROR_HANDLER::m_hasError
private

Definition at line 154 of file api_plugin.h.

Referenced by error(), HasError(), and LOGGING_ERROR_HANDLER().


The documentation for this class was generated from the following files: