AWS IoT Embedded C Device SDK
aws_iot_error.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
21 #ifndef AWS_IOT_SDK_SRC_IOT_ERROR_H_
22 #define AWS_IOT_SDK_SRC_IOT_ERROR_H_
23 
24 /* Used to avoid warnings in case of unused parameters in function pointers */
25 #define IOT_UNUSED(x) (void)(x)
26 
36 typedef enum {
50  SUCCESS = 0,
52  FAILURE = -1,
150 }IoT_Error_t;
151 
152 #endif /* AWS_IOT_SDK_SRC_IOT_ERROR_H_ */
Definition: aws_iot_error.h:109
Definition: aws_iot_error.h:117
Definition: aws_iot_error.h:119
Definition: aws_iot_error.h:127
Definition: aws_iot_error.h:70
Definition: aws_iot_error.h:50
Definition: aws_iot_error.h:74
Definition: aws_iot_error.h:147
Definition: aws_iot_error.h:115
Definition: aws_iot_error.h:52
Definition: aws_iot_error.h:48
Definition: aws_iot_error.h:131
Definition: aws_iot_error.h:95
Definition: aws_iot_error.h:85
Definition: aws_iot_error.h:78
Definition: aws_iot_error.h:149
Definition: aws_iot_error.h:54
IoT_Error_t
IoT Error enum.
Definition: aws_iot_error.h:36
Definition: aws_iot_error.h:107
Definition: aws_iot_error.h:137
Definition: aws_iot_error.h:135
Definition: aws_iot_error.h:44
Definition: aws_iot_error.h:62
Definition: aws_iot_error.h:58
Definition: aws_iot_error.h:93
Definition: aws_iot_error.h:101
Definition: aws_iot_error.h:103
Definition: aws_iot_error.h:139
Definition: aws_iot_error.h:66
Definition: aws_iot_error.h:141
Definition: aws_iot_error.h:145
Definition: aws_iot_error.h:123
Definition: aws_iot_error.h:113
Definition: aws_iot_error.h:129
Definition: aws_iot_error.h:89
Definition: aws_iot_error.h:87
Definition: aws_iot_error.h:38
Definition: aws_iot_error.h:42
Definition: aws_iot_error.h:46
Definition: aws_iot_error.h:40
Definition: aws_iot_error.h:68
Definition: aws_iot_error.h:143
Definition: aws_iot_error.h:72
Definition: aws_iot_error.h:91
Definition: aws_iot_error.h:97
Definition: aws_iot_error.h:60
Definition: aws_iot_error.h:76
Definition: aws_iot_error.h:111
Definition: aws_iot_error.h:64
Definition: aws_iot_error.h:105
Definition: aws_iot_error.h:133
Definition: aws_iot_error.h:121
Definition: aws_iot_error.h:99
Definition: aws_iot_error.h:56
Definition: aws_iot_error.h:80