HID APPROVE SDK  5.5
HID APPROVE SDK for iOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDErrors.h
Go to the documentation of this file.
1 /* ---------------------------------------------------------------------------
2  © 2017-2020 HID Global Corporation/ASSA ABLOY AB. All rights reserved.
3 
4  Redistribution and use in source and binary forms, with or without modification,
5  are permitted provided that the following conditions are met:
6  - Redistributions of source code must retain the above copyright notice,
7  this list of conditions and the following disclaimer.
8  - Redistributions in binary form must reproduce the above copyright notice,
9  this list of conditions and the following disclaimer in the documentation
10  and/or other materials provided with the distribution.
11  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
12  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
13  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
14  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
15  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
18  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
20  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21  --------------------------------------------------------------------------- */
22 
28 extern NSString *const HIDErrorDomain;
29 
34 typedef enum
35 {
36  //API errors
37  //Internal erros
45  //Credential erros
56  //Device errors
63  //Communication errors
70  // Transaction errors
73 } HIDErrorCode;
Definition: HIDErrors.h:42
Definition: HIDErrors.h:68
NSString *const HIDErrorDomain
The domain of errors returned by the sdk.
HIDErrorCode
SDK error codes.
Definition: HIDErrors.h:34
Definition: HIDErrors.h:47
Definition: HIDErrors.h:72
Definition: HIDErrors.h:60
Definition: HIDErrors.h:62
Definition: HIDErrors.h:48
Definition: HIDErrors.h:49
Definition: HIDErrors.h:57
Definition: HIDErrors.h:55
Definition: HIDErrors.h:69
Definition: HIDErrors.h:38
Definition: HIDErrors.h:64
Definition: HIDErrors.h:53
Definition: HIDErrors.h:41
Definition: HIDErrors.h:61
Definition: HIDErrors.h:43
Definition: HIDErrors.h:58
Definition: HIDErrors.h:44
Definition: HIDErrors.h:54
Definition: HIDErrors.h:52
Definition: HIDErrors.h:50
Definition: HIDErrors.h:51
Definition: HIDErrors.h:46
Definition: HIDErrors.h:66
Definition: HIDErrors.h:67
Definition: HIDErrors.h:71
Definition: HIDErrors.h:39
Definition: HIDErrors.h:65
Definition: HIDErrors.h:40
Definition: HIDErrors.h:59