8#ifndef SRC_ERRORHANDLER_H_
9#define SRC_ERRORHANDLER_H_
16#ifndef ERRORHANDLER_MAXERRORS
17#define ERRORHANDLER_MAXERRORS 16
98 static std::array<Error,ERRORHANDLER_MAXERRORS>
errors;
@ externalConfigurationError
static std::span< Error > getErrors()
static std::array< Error, ERRORHANDLER_MAXERRORS > errors
virtual void errorCallback(const Error &error, bool cleared)
static std::vector< ErrorHandler * > errorHandlers
static void clearError(const Error &error)
static void addError(const Error &error)
Error(ErrorCode code, ErrorType type, std::string info)
bool operator==(const Error &b) const
void errorCallback(const Error &error, bool cleared)
void setEnabled(bool enable)