DetectorGraph
2.0
include
errortype.hpp
Go to the documentation of this file.
1
// Copyright 2017 Nest Labs, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef DETECTORGRAPH_INCLUDE_ERROR_HPP_
16
#define DETECTORGRAPH_INCLUDE_ERROR_HPP_
17
18
namespace
DetectorGraph
19
{
20
21
enum
ErrorType
22
{
23
/* ok */
24
25
ErrorType_Success
= 0,
26
27
/* general */
28
29
ErrorType_Failure
= -1,
30
ErrorType_NoMemory
= -2,
31
ErrorType_Init
= -3,
32
ErrorType_Lookup
= -4,
33
ErrorType_BadInput
= -5,
34
ErrorType_OutOfBounds
= -6,
35
ErrorType_NoResource
= -7,
36
ErrorType_Parse
= -8,
37
ErrorType_BadConfiguration
= -9,
38
ErrorType_Unused
= -10
39
};
40
41
}
42
43
#endif // DETECTORGRAPH_INCLUDE_ERROR_HPP_
DetectorGraph::ErrorType_Init
Definition:
errortype.hpp:31
DetectorGraph::ErrorType_NoMemory
Definition:
errortype.hpp:30
DetectorGraph::ErrorType_BadConfiguration
Definition:
errortype.hpp:37
DetectorGraph::ErrorType
ErrorType
Definition:
errortype.hpp:21
DetectorGraph::ErrorType_Parse
Definition:
errortype.hpp:36
DetectorGraph::ErrorType_Unused
Definition:
errortype.hpp:38
DetectorGraph::ErrorType_BadInput
Definition:
errortype.hpp:33
DetectorGraph::ErrorType_Failure
Definition:
errortype.hpp:29
DetectorGraph::ErrorType_Success
Definition:
errortype.hpp:25
DetectorGraph::ErrorType_Lookup
Definition:
errortype.hpp:32
DetectorGraph::ErrorType_OutOfBounds
Definition:
errortype.hpp:34
DetectorGraph
Definition:
detector.hpp:28
DetectorGraph::ErrorType_NoResource
Definition:
errortype.hpp:35
Generated by
1.8.13