-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.cpp
64 lines (61 loc) · 1.75 KB
/
error.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// error.cpp
#include "stdafx.h"
const char* CLogError::ErrorMsg()
{
switch (errnr)
{
case ERROR_OK:
return " .. "; break;
case ERROR_OPEN:
return "ERROR: Could not open log file!";
case ERROR_NO_LOGFILE:
return "ERROR: incorrect log file!";
case ERROR_WAFERID:
return "ERROR: incorrect or missing wafer id!";
case ERROR_CENTER:
return "ERROR: incorrect CENTER section!";
case ERROR_CHIP:
return "ERROR: incorrect or missing CHIP section!";
case ERROR_BEGIN:
return "ERROR: incorrect or missing BEGIN section!";
case ERROR_FREQ:
return "ERROR: incorrect or missing FREQ section!";
case ERROR_PON:
return "ERROR: incorrect or missing PON section!";
case ERROR_TOKEN:
return "ERROR: incorrect TOKEN section!";
case ERROR_I2C:
return "ERROR: incorrect I2C section!";
case ERROR_READBACK:
return "ERROR: incorrect Readback section!";
case ERROR_VANA:
return "ERROR: incorrect VANA section!";
case ERROR_ITRIM:
return "ERROR: incorrect ITRIM section!";
case ERROR_PROBECARD:
return "ERROR: incorrect or missing probcard measurement sections!";
case ERROR_AOUT:
return "ERROR: incorrect AOUT section!";
case ERROR_PIXEL:
return "ERROR: incorrect PIXMAP section!";
case ERROR_PH:
return "ERROR: incorrect PULSE section!";
case ERROR_PH1:
return "ERROR: incorrect PH1 section!";
case ERROR_PH2:
return "ERROR: incorrect PH2 section!";
case ERROR_DCOL:
return "ERROR: incorrect DCOL section!";
case ERROR_PUC:
return "ERROR: incorrect PUC section!";
case ERROR_CLASS:
return "ERROR: incorrect CLASS section!";
case ERROR_POFF:
return "ERROR: incorrect or missing POFF section!";
case ERROR_END:
return "ERROR: incorrect or missing END section!";
case ERROR_CLOSE:
return "ERROR: missing CLOSE section!";
}
return "";
}