#ifndef PORTLOADERERRORS_H
#define PORTLOADERERRORS_H

#include "LQError.h"
#include <QObject>
#include <QFileDevice>

class PortLoaderErrors: public QObject {
    Q_OBJECT
public:
    static LQError error(int code, const QString &msg);

    static LQError fileError(QFileDevice::FileError err_code);
};

#endif // PORTLOADERERRORS_H
