ASN1C C/C++ Common Runtime  ASN1C v7.2.x
asn1ErrCodes.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 1997-2018 Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
29 #ifndef _ASN1ERRCODES_H_
30 #define _ASN1ERRCODES_H_
31 
48 #define ASN_OK_FRAG 2
49 
54 #define ASN_E_BASE -100
55 
64 #define ASN_E_INVOBJID (ASN_E_BASE)
65 
72 #define ASN_E_INVLEN (ASN_E_BASE-1)
73 
79 #define ASN_E_BADTAG (ASN_E_BASE-2)
80 
86 #define ASN_E_INVBINS (ASN_E_BASE-3)
87 
93 #define ASN_E_INVINDEX (ASN_E_BASE-4)
94 
100 #define ASN_E_INVTCVAL (ASN_E_BASE-5)
101 
107 #define ASN_E_CONCMODF (ASN_E_BASE-6)
108 
116 #define ASN_E_ILLSTATE (ASN_E_BASE-7)
117 
123 #define ASN_E_NOTPDU (ASN_E_BASE-8)
124 
130 #define ASN_E_UNDEFTYP (ASN_E_BASE-9)
131 
137 #define ASN_E_INVPERENC (ASN_E_BASE-10)
138 
144 #define ASN_E_NOTINSEQ (ASN_E_BASE-11)
145 
155 #define ASN_E_BAD_ALIGN (ASN_E_BASE-12)
156 
164 #define ASN_E_UNKNOWNPDU (ASN_E_BASE-13)
165 
170 #define ASN_E_NOTCANON (ASN_E_BASE-14)
171 
175 #endif