#ifndef BURNPROTOCOLDFUERRORS_H
#define BURNPROTOCOLDFUERRORS_H

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

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

    static LQError devNotSet();
    static LQError unexpectedDevState(DfuDevice::State expState, DfuDevice::State devState);
    static LQError opExecTimeout();
    static LQError invalidDataSize();
};

#endif // BURNPROTOCOLDFUERRORS_H
