Instrument Control Lib
Framework to control Oscilloscopes, SMUs, Function Generators and DC Powersupplies via Ethernet.
ErrorHandler.h
Go to the documentation of this file.
1 //
2 // Created by florianfrank on 29.12.20.
3 //
4 #if 0
5 #ifndef PLATFORMINDEPENDENTLIB_ERRORHANDLER_H
6 #define PLATFORMINDEPENDENTLIB_ERRORHANDLER_H
7 
8 #include "ErrorCodeDefines.h"
9 #include <cstdint>
10 
11 const char* PIL_ErrorCodeToString(PIL_ERROR_CODE errorCode);
12 
13 bool PIL_SetLastError(PIL_ErrorHandle *socketStruct, PIL_ERROR_CODE errorCode);
14 
15 bool PIL_SetLastErrorMsg(PIL_ErrorHandle *errStruct, PIL_ERROR_CODE errorCode, const char* errorMessage);
16 
17 const char* PIL_ReturnErrorMessage(PIL_ErrorHandle *errorHandle);
18 
19 #endif //PLATFORMINDEPENDENTLIB_ERRORHANDLER_H
20 #endif