1#ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_INPLACEERROR_HPP
2#define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_INPLACEERROR_HPP
4#include "internal/common.hpp"
31 InplaceError(
const QString & message =
"Error.",
const char * file =
nullptr,
int line = 0,
const char * function =
nullptr,
int code =
Error::FAIL);
47#define CUTEHMI_ERROR(MESSAGE) cutehmi::InplaceError(MESSAGE, __FILE__, __LINE__, Q_FUNC_INFO)
Definition: constants.hpp:6
Standarized error.
Definition: Error.hpp:16
@ FAIL
Definition: Error.hpp:22
In-place error.
Definition: InplaceError.hpp:17
QString message
Definition: InplaceError.hpp:39
const char * file
Definition: InplaceError.hpp:40
int line
Definition: InplaceError.hpp:41
const char * function
Definition: InplaceError.hpp:42