2#ifndef AIS_ERROR_CODE_H
3#define AIS_ERROR_CODE_H
5#include "AisSquidstatGlobal.h"
22 FirmwareNotSupported = 2,
23 FirmwareFileNotFound = 3,
30 ManualExperimentNotRunning = 51,
31 ExperimentNotUploaded = 52,
32 ExperimentIsEmpty = 53,
33 InvalidParameters = 54,
35 ExperimentUploaded = 56,
37 DeviceCommunicationFailed = 100,
39 FailedToSetManualModeCurrentRange = 101,
40 FailedToSetManualModeConstantVoltage = 102,
41 FailedToPauseExperiment = 103,
42 FailedToResumeExperiment = 104,
43 FailedToStopExperiment = 105,
44 FailedToUploadExperiment = 106,
45 ExperimentAlreadyPaused = 107,
46 ExperimentAlreadyRun = 108,
47 FailedToSetManualModeVoltageRange = 109,
48 FailedToSetManualModeConstantCurrent = 110,
49 FailedToSetManualModeInOCP = 111,
50 FailedToSetManualModeSamplingInterval = 112,
51 FailedToSetIRComp = 113,
52 FailedToSetCompRange = 114,
This class contains the possible error codes returned to the user when working with the API.
Definition: AisErrorCode.h:15
QString message() const
a function to get a message explaining the error.
ErrorCode
Definition: AisErrorCode.h:18
int value() const
a function to get the error code.