Medial Code Documentation
Loading...
Searching...
No Matches
Internal
AlgoMarker
AlgoMarker
AlgoMarkerErr.h
1
#pragma once
2
3
#define AM_UNDEFINED_VALUE -9999.99
4
5
//=====================================================================
6
// External Error Codes
7
//=====================================================================
8
#define AM_ELIGIBILITY_ERROR 300
9
#define AM_RESPONSES_ELIGIBILITY_ERROR 301
10
#define AM_DATA_BAD_FORMAT_FATAL 330
11
#define AM_DATA_UNKNOWN_SIGNAL 331
12
#define AM_DATA_BAD_STRUCTURE 332
13
#define AM_DATA_GENERAL_ERROR 333
14
#define AM_DATA_BAD_FORMAT_NON_FATAL 334
15
16
#define AM_THRESHOLD_ERROR_NON_FATAL 392
//350
17
#define AM_GENERAL_FATAL 392
18
19
//=====================================================================
20
// Internal Error codes used for AlgoMarkers
21
//=====================================================================
22
23
// OK RESPONSE
24
#define AM_OK_RC 0
25
26
// General FAIL RC
27
#define AM_FAIL_RC -1
28
29
// SPECIFIC ERR CODES
30
31
// Create() Errors
32
#define AM_ERROR_CREATE_FAILED 1001
33
34
// Load() Errors
35
#define AM_ERROR_LOAD_NO_CONFIG_FILE 1101
36
#define AM_ERROR_LOAD_BAD_CONFIG_FILE 1102
37
#define AM_ERROR_LOAD_NON_MATCHING_TYPE 1103
38
#define AM_ERROR_LOAD_READ_REP_ERR 1104
39
#define AM_ERROR_LOAD_READ_MODEL_ERR 1105
40
#define AM_ERROR_LOAD_BAD_NAME 1106
41
#define AM_ERROR_LOAD_BAD_TESTERS_FILE 1107
42
#define AM_ERROR_LOAD_MISSING_REQ_SIGS 1108
43
#define AM_ERROR_MUST_BE_LOADED 1109
44
#define AM_ERROR_UNKNOWN_LOAD_TYPE 1110
45
#define AM_ERROR_READING_DICT_FILE 1111
46
#define AM_ERROR_PARSING_JSON_DICT 1112
47
48
// AddData Errors
49
#define AM_ERROR_ADD_DATA_FAILED 1201
//Only in old API - AddData, not AddDataByType
50
#define AM_ERROR_DATA_JSON_PARSE 1202
51
#define AM_ERROR_DATA_UNKNOWN_ADD_DATA_TYPE 1203
//Can't happen
52
// Messages Codes For Responses - in old API Calculate
53
#define AM_MSG_NULL_REQUEST 101
54
#define AM_MSG_BAD_PREDICTION_POINT 102
55
#define AM_MSG_BAD_SCORE_TYPE 103
56
#define AM_MSG_RAW_SCORES_ERROR 104
57
58
59
Generated on Mon Sep 15 2025 12:12:20 for Medial Code Documentation by
1.9.8