Developer Application Interface (ARC API)
v4.5.8
ARC, Inc. GenIV Application Interface
ArcErrorDefs.h
1
// +------------------------------------------------------------------------------------------------------------------+
2
// | FILE: ArcErrorDefs.h ( GenIV ) |
3
// +------------------------------------------------------------------------------------------------------------------+
4
// | PURPOSE: This file defines the controller error codes returned when a command status returns cmds_e::EROR |
5
// | |
6
// | AUTHOR: Scott Streit DATE: Feb 26, 2020 |
7
// | |
8
// | Copyright 2020 Astronomical Research Cameras, Inc. All rights reserved. |
9
// +------------------------------------------------------------------------------------------------------------------+
12
#pragma once
13
14
15
#ifdef __cplusplus
16
17
#include <array>
18
19
namespace
arc
20
{
21
namespace
gen4
22
{
23
24
#endif
25
26
50
#ifdef __cplusplus
51
enum class
errorCodes_e
: std::uint32_t
52
#else
53
typedef enum errorCodesType
54
#endif
55
{
56
eNoError
= 0,
57
eInvalidParameterCount
,
58
eInvalidParameter
,
59
eRangeError
,
60
eTimeOut
,
61
eExecutionError
,
62
eCommandNotFound
,
63
eInvalidBoardNumber
,
64
eInvalidDimenForColsPerChan
,
65
eErrorCodeCount
66
#ifdef __cplusplus
67
};
68
#else
69
} errorCodes_e;
70
#endif
71
72
73
#ifdef __cplusplus
74
76
extern
const
std::array<const std::string, static_cast< size_t >( errorCodes_e::eErrorCodeCount )> sErrorCodeDetails;
77
78
#endif
79
80
81
#ifdef __cplusplus
82
83
}
// end gen4 namespace
84
}
// end arc namespace
85
86
#endif
arc::gen4::errorCodes_e
errorCodes_e
Definition:
ArcErrorDefs.h:55
arc::gen4::errorCodes_e::eInvalidBoardNumber
@ eInvalidBoardNumber
arc::gen4::errorCodes_e::eCommandNotFound
@ eCommandNotFound
arc::gen4::errorCodes_e::eErrorCodeCount
@ eErrorCodeCount
arc::gen4::errorCodes_e::eInvalidParameterCount
@ eInvalidParameterCount
arc::gen4::errorCodes_e::eRangeError
@ eRangeError
arc::gen4::errorCodes_e::eNoError
@ eNoError
arc::gen4::errorCodes_e::eExecutionError
@ eExecutionError
arc::gen4::errorCodes_e::eTimeOut
@ eTimeOut
arc::gen4::errorCodes_e::eInvalidDimenForColsPerChan
@ eInvalidDimenForColsPerChan
arc::gen4::errorCodes_e::eInvalidParameter
@ eInvalidParameter
arc
Definition:
CArcBase.h:50
CArcDevice
inc
ArcErrorDefs.h
Generated by
1.9.2