1#ifndef QX_GENERICERROR_H
2#define QX_GENERICERROR_H
5#include "qx/core/qx_core_export.h"
13class QX_CORE_EXPORT
GenericError final :
public AbstractError<"Qx::GenericError", 999>
32 quint32 deriveValue()
const override;
33 Severity deriveSeverity()
const override;
34 QString deriveCaption()
const override;
35 QString derivePrimary()
const override;
36 QString deriveSecondary()
const override;
37 QString deriveDetails()
const override;
41 quint32
value()
const;
bool operator!=(const GenericError &other) const =default
GenericError()
Definition qx-genericerror.cpp:36
GenericError withSeverity(Severity sv)
Definition qx-genericerror.cpp:126
bool isValid() const
Definition qx-genericerror.cpp:70
QString caption() const
Definition qx-genericerror.cpp:91
bool operator==(const GenericError &other) const =default
GenericError & setCaption(const QString &caption)
Definition qx-genericerror.cpp:139
QString primary() const
Definition qx-genericerror.cpp:98
QString details() const
Definition qx-genericerror.cpp:112
quint32 value() const
Definition qx-genericerror.cpp:77
GenericError & setSeverity(Severity sv)
Definition qx-genericerror.cpp:119
GenericError & setSecondary(const QString &secondary)
Definition qx-genericerror.cpp:153
GenericError & setPrimary(const QString &primary)
Definition qx-genericerror.cpp:146
QString secondary() const
Definition qx-genericerror.cpp:105
GenericError & setDetails(const QString &details)
Definition qx-genericerror.cpp:160
Severity severity() const
Definition qx-genericerror.cpp:84
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-abstracterror.cpp:13
Severity
Definition qx-global.h:11
The qx-abstracterror.h header file provides access to the base class from which custom error types sh...