TOP

IAAPI Error Codes

Applies to: ASN.1/C v11.3-11.3.1

The following section lists the error codes associated with the IAAPI_ERRTYPE type. Note that the Global Enumerators are important as they are macros that can be used in your application to check return codes.

Return value Error Global Enumerator Description
0
IA000I
IAAPI_NOERROR
No error occurred.
1
IA001S
IAAPI_OUTMEMORY
No more memory can be allocated.
2
IA002S
IAAPI_MEM_ERROR
Memory violation error occurred.
3
IA003S
IAAPI_ACCESS_SERIALIZATION
Access serialization error occurred.
4
IA004E
IAAPI_BADNULL
A non-standard NULL symbol (e.g., "NULL" instead of \0) was found where a NULL value was expected.
5
IA005E
IAAPI_TOOBIG
Value exceeds size constraint.
6
IA006E
IAAPI_BADREAL
Not a valid REAL value.
7
IA007E
IAAPI_BADTIME
Not a valid value of the input UTCTime, GeneralizedTime, or ISO 8601 time type.
8
IA008E
IAAPI_BADOBJID
Not a valid OBJECT IDENTIFIER value.
9
IA009E
IAAPI_BADANY
Bad ANY or OpenType value.
10
IA010E
IAAPI_BADNAME
Bad INTEGER or ENUMERATED name.
11
IA011E
IAAPI_BADNMD
Bad BIT STRING named bit value.
12
IA012S
IAAPI_NOTSUP
Type not supported.
13
IA013E
IAAPI_BADNUM
Bad INTEGER or ENUMERATED value.
14
IA014E
IAAPI_BADINDX
Bad component index into a structured type.
15
IA015E
IAAPI_BADDEC
Bad decoded value, possibly NULL.
16
IA016E
IAAPI_ENCFAL
Failure to encode value.
17
IA017E
IAAPI_NLENC
Null encoding or length is zero.
18
IA018E
IAAPI_DECFAL
Decoding failed.
19
IA019E
IAAPI_BADTGINDX
Bad tag number index into encoded value.
20
IA020E
IAAPI_BADTYPE
Incorrect type handle for the function.
21
IA021E
IAAPI_CPYFAIL
A failure was detected while copying a decoded value.
22
IA022E
IAAPI_NOTCOMPATIBLE
Types are not compatible.
23
IA023E
IAAPI_BADDISPLAYVALUE
Failure to parse a PDU display value.
24
IA024E
IAAPI_BADIDENTIFIER
Bad identifier in a parsing display value.
25
IA025E
IAAPI_DUPLCOMPVALUE
Duplicate value for one component in a parsing value.
26
IA026E
IAAPI_ENCOPENTYPEORANYFAILED
Encoding failed for an ANY or open type value.
27
IA027E
IAAPI_FREETPFAL
A failure was encountered while attempting to free a decoded value.
28
IA028E
IAAPI_BADCHOICE
An invalid value notation for a CHOICE type was encountered.
29
IA029E
IAAPI_BADHINT
Bad HUGE INTEGER value.
30
IA030E
IAAPI_BADENCOID
Bad ENCODED OBJECT IDENTIFIER value.
31
IA031E
IAAPI_BADOBJ
Object cannot be marked because it is not of the correct type (e.g., the OSS.NOCOPY | OSS.OBJHANDLE directive was not applied on the type or the value does not correspond to the type).
32
IA032S
IAAPI_UNKNOWNOBJ
Invalid object handle.
33
IA033E
IAAPI_BADBIT
Bad bit string or hex string.
34
IA034E
IAAPI_BADBOOLEAN
Value is not equal to TRUE or FALSE.
35
IA035E
IAAPI_LENTOOLONG
Length of encoding too long.
36
IA036E
IAAPI_NOEOC
EOC not found for indefinite length encoding.
37
IA037E
IAAPI_BADEOC
EOC with non-zero second octet.
38
IA038E
IAAPI_BADHEADER
Length of tag-length pair exceeds remaining data length.
39
IA039E
IAAPI_BADSTRUCTVALUE
Value notation of SET or SEQUENCE or SET OF or SEQUENCE OF has no opening or closing brace.
40
IA040E
IAAPI_BADCSTRINGLIST
Bad character string or control char value.
41
IA041E
IAAPI_NOMANDATORY
Not all values of mandatory components are present in the value notation of SET or SEQUENCE type.
42
IA042E
IAAPI_ABSENT_IDENTIFIER
Identifier is missing in value notation of SET or SEQUENCE type.
43
IA043E
IAAPI_NOTYPEREF
Missing type reference name in ANY or open type.
44
IA044E
IAAPI_BADOBJVALUE
Invalid display value of a marked object.
45
IA045E
IAAPI_CANT_OPEN_FILE
Input file cannot be opened.
46
IA046E
IAAPI_ERROR_READING_FROM_FILE
Error reading from input file.
47
IA047E
IAAPI_BADOFFSET
Invalid offset into input file.
48
IA048E
IAAPI_BADSIZE
Invalid number of bytes to be read from input file.
49
IA049E
IAAPI_NONHEX
Input text file with encoding contains non-hexadecimal characters.
50
IA050E
IAAPI_INT_TOO_LONG
Integer value is out of range.
51
IA051E
IAAPI_BAD_ABSREF
Bad absolute reference format.
52
IA052E
IAAPI_BAD_TYPEREF_NAME
Bad type reference name.
53
IA053E
IAAPI_BAD_COMPID
Bad identifier in SET, SEQUENCE, or CHOICE.
54
IA054E
IAAPI_BAD_PARENT_TYPE
Bad type handle of parent type.
55
IA055E
IAAPI_BAD_COMP_TYPE
Bad type handle of component.
56
IA056E
IAAPI_BAD_COMP_VALUE
Bad component value, possibly NULL.
57
IA057E
IAAPI_BADENCRELOID
Bad ENCODED Relative-OID value.
58
IA058E
IAAPI_NODEBUG 
The control table was generated with -noDebug option, which means that no information about ASN.1 names is available for the IAAPI functions.
59
IA059E
IAAPI_BAD_INFO_OBJ_NAME
Invalid input information object name found.
60
IA060E
IAAPI_NO_TABLE_CONSTRAINT
Component has no table constraint.
61
IA061E
IAAPI_INFO_OBJECT_NOT_FOUND
No information object was found.
62
IA062E
IAAPI_INFO_OBJSET_NOT_FOUND
No information object set was found.
63
IA063E
IAAPI_INFO_OBJSET_NOT_EXTENSIBLE
Information object set is not extensible.
64
IA064E
IAAPI_BADARG
One of the input parameters is invalid, possibly a NULL value.
65
IA065E
IAAPI_INFO_OBJ_NOT_SUPPORTED
Input control table was generated by an old compiler without support for information object classes, sets, and objects.
66
IA066E
IAAPI_CANT_REMOVE_ROOT_INFO_OBJ
An attempt was made to remove an information object that appears before the extension marker in an information object set.
67
IA067E
IAAPI_CANT_COPY_INFO_OBJSET_TABLE
An error occurred when trying to copy an information object set table for adding and removing info objects.
68
IA068E
IAAPI_INFO_OBJ_UNIQUE_FIELD_NOT_FOUND
No UNIQUE field was found in the definition of an information object class. This is an internal OSS Tools error.
69
IA069E
IAAPI_INFO_OBJECT_ALREADY_EXISTS
An information object with the same UNIQUE field already exists. This is an internal OSS Tools error.
70
IA070E
IAAPI_CMP_VALUE_DLL_FAILED
The OSS compare values DLL needed for IAAPI functions was not loaded into memory. Check to make sure that all OSS DLLs are in the system path.
71
IA071E
IAAPI_IMPLEMENTATION_LIMIT_EXCEEDED
Internal limitation for handling REAL values is exceeded.
72
IA072E
IAAPI_ERROR_WRITING_TO_FILE
Error writing to output file in the encoding.
73
IA073E
IAAPI_BAD_ZERO_TAG
Invalid "00" tag is detected.
74
IA074E
IAAPI_CONSTRAINT_VIOLATION
A constraints violation occurred, for example: "Table constraint violated", "Size constraint violated for a string value", "Value range constraint violated for an unsigned integer", and so on. The message includes descriptions similar to descriptions of the error codes that are returned by the ossCheckConstraint() API function.
75
IA075E
IAAPI_BAD_OID_IRI
Bad OID-IRI value that does not start with the '/' character.
76
IA076E
IAAPI_BAD_RELOID_IRI
Bad RELATIVE-OID-IRI value that starts with the '/' character.
77
IA077E
IAAPI_BAD_CHARSTRING
Bad character string value, possibly quotes are missing.
78
IA078E
IAAPI_CSV_BAD_CONTEXT
The input CSV header or value record structure contains an error. The input format might not conform to the specified PDU type structure.
79
IA079E
IAAPI_CSV_BAD_HEADER
The CSV header contains a name that does not conform to the PDU type structure.
80
IA080E
IAAPI_CSV_BAD_COLUMN_SEP
A character specified where the column separator is expected is different from the previously detected separator.
81
IA081E
IAAPI_CSV_BAD_FORMAT
The input CSV is structurally incorrect, per the specified PDU type structure.
82
IA082E
IAAPI_CSV_BAD_EOF
The end of the CSV buffer was reached, but more values are expected per the specified PDU type structure.
83
IA083E
IAAPI_CSV_NOTSUP_RECURSION
The input PDU type is recursively defined and is instantiated more than once. In this case, the full CSV header should be present so duplicate fields of multiple recursions can be identified.
84
IA084E
IAAPI_CSV_NOTSUP_COLUMN_SEP
The specified column separator is not one of those currently supported: ',', ';', ':', '='.
85
IA085E
IAAPI_CSV_NOTSUP_HEADER_SEP
The specified header separator is not one of those currently supported: '-', '_', '.', '/', '\\'.
86
IA086E
IAAPI_CSV_NOTSUP_OPENTYPE
The specified PDU type includes an open type. However, the input CSV does not include a full CSV header with special syntax for open types, where the nested PDU type names or numbers are enclosed in parentheses. In this case, the decoder cannot determine the CSV structure.
87
IA087E
IAAPI_CSV_BAD_BCD
The OSS_COS_BCD flag is specified or the OSS.PrintFunctionName directive with "ossPrintOctetAsBCDString" is applied to one or more OCTET STRING types, but one or more OCTET STRING values could not be converted to or from BCD.
88
IA088E
IAAPI_CSV_BAD_TBCD
The OSS_COS_TBCD flag is specified or the OSS.PrintFunctionName directive with "ossPrintOctetAsTBCDString" is applied to one or more OCTET STRING types, but one or more OCTET STRING values could not be converted to or from TBCD.
89
IA089E
IAAPI_CSV_BAD_ASCII
The OSS_COS_ASCII flag is specified or the OSS.PrintFunctionName directive with "ossPrintOctetAsASCII" is applied to one or more OCTET STRING types, but one or more OCTET STRING values could not be converted to or from ASCII.
90
IA090E
IAAPI_CSV_BAD_IPADDRESS
The OSS_COS_IP_ADDRESS flag is specified or the OSS.PrintFunctionName directive with "ossPrintOctetAsIPAddress" is applied to one or more OCTET STRING types, but one or more OCTET STRING values could not be converted to or from IP address.
91
IA091E
IAAPI_CSV_BAD_TIMESTAMP
The OSS_COS_TIME_STAMP flag is specified or the OSS.PrintFunctionName directive with "ossPrintOctetAsTimeStamp" is applied to one or more OCTET STRING types, but one or more OCTET STRING values could not be converted to or from time stamp.
92
IA092E
IAAPI_CSV_IMPLEMENTATION_LIMIT_EXCEEDED
The specified value for the maximum number of additional CSVs for SET OF and SEQUENCE OF components exceeds the implementation limit of 50.
93
IA093E
IAAPI_INVALID_CSV_SETTING
An invalid CSV setting identifier is specified as the second parameter in the ossGetCsvSetting() or ossSetCsvSetting() function.
94
IA094E
IAAPI_INVALID_CSV_SETTING_VALUE
The value specified in the ossSetCsvSetting() function is not valid for the specified CSV setting.
95
IA095E
IAAPI_MORE_BUF
The size of the user-provided output buffer in the ossConvertPduValueToCsv() or ossConvertTypeValueToCsv() function is too small.

This documentation applies to the OSS® ASN.1 Tools for C release 10.7 and later. If you are using an earlier version, consult the documentation that was shipped with your product.

Copyright © 2024 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the OSS® ASN.1 Tools for C is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS ASN.1 Tools for C are available to you.