ASN1C C/C++ Common Runtime  ASN1C v7.5.x
asn1ErrCodes.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 1997-2021 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 
43 /* For the corresponding error text messages, see rtError.c */
44 
50 #define ASN_OK_FRAG 2
51 
56 #define ASN_E_BASE -100
57 
66 #define ASN_E_INVOBJID (ASN_E_BASE)
67 
74 #define ASN_E_INVLEN (ASN_E_BASE-1)
75 
81 #define ASN_E_BADTAG (ASN_E_BASE-2)
82 
88 #define ASN_E_INVBINS (ASN_E_BASE-3)
89 
95 #define ASN_E_INVINDEX (ASN_E_BASE-4)
96 
102 #define ASN_E_INVTCVAL (ASN_E_BASE-5)
103 
109 #define ASN_E_CONCMODF (ASN_E_BASE-6)
110 
118 #define ASN_E_ILLSTATE (ASN_E_BASE-7)
119 
125 #define ASN_E_NOTPDU (ASN_E_BASE-8)
126 
132 #define ASN_E_UNDEFTYP (ASN_E_BASE-9)
133 
139 #define ASN_E_INVPERENC (ASN_E_BASE-10)
140 
146 #define ASN_E_NOTINSEQ (ASN_E_BASE-11)
147 
157 #define ASN_E_BAD_ALIGN (ASN_E_BASE-12)
158 
166 #define ASN_E_UNKNOWNPDU (ASN_E_BASE-13)
167 
172 #define ASN_E_NOTCANON (ASN_E_BASE-14)
173 
177 #define ASN_E_VALTYPMIS (ASN_E_BASE-15)
178 
182 #define ASN_E_LEN_FORM (ASN_E_BASE-16)
183 
187 #define ASN_E_LEN_NOT_MIN (ASN_E_BASE-17)
188 
192 #define ASN_E_PRIM_REQ (ASN_E_BASE-18)
193 
198 #define ASN_E_FRAGMENTS (ASN_E_BASE-19)
199 
203 #endif