netter 0.3.2

Netter is a CLI tool for fast and easy server startup!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ERROR_HANDLER_H
#define ERROR_HANDLER_H


#include <QString>
#include <QWidget>
#include "../ui/dialogs/error_dialog.h"

class ErrorHandler
{
public:
    void showError(const QString& title, const QString& message, QWidget* parent = nullptr);
    void logError(const QString& message);
};

#endif // ERROR_HANDLER_H