IonErrorCode

Ion Error Codes

Values

ValueMeaning
none
nop
jsonUnexpectedValue
jsonUnexpectedEnd
symbolTableCantInsertKey
illegalTypeDescriptor
unexpectedEndOfData
unexpectedIonType
overflowInParseVarUInt
overflowInParseVarInt
overflowInIntegerValue
overflowInDecimalValue
overflowInSymbolId
zeroAnnotations
illegalBinaryData
illegalTimeStamp
wrongBoolDescriptor
wrongIntDescriptor
wrongFloatDescriptor
nullBool
nullInt
nullFloat
nullTimestamp
expectedNullValue
expectedBoolValue
expectedIntegerValue
expectedFloatingValue
expectedEnumValue
expectedStringValue
expectedCharValue
expectedStructValue
expectedListValue
expectedTimestampValue
requiredDefaultClassConstructor
integerOverflow
smallStringOverflow
smallArrayOverflow
unexpectedVersionMarker
cantParseValueStream
symbolIdIsTooLargeForTheCurrentSymbolTable
invalidLocalSymbolTable
sharedSymbolTablesAreUnsupported
unableToOpenFile
eof
errorReadingFile
errorReadingStream
tooManyElementsForStaticArray
notEnoughElementsForStaticArray
unusedAnnotations
missingAnnotation
cantConvertAnnotationToEnum
nestedAnnotationsNotAllowed
expectedIonStructForAnAssociativeArrayDeserialization
unexpectedComma
emptyIonInput
emptyOrderedStruct
negativeIntegerZero

Examples

static assert(!IonErrorCode.none);
static assert(IonErrorCode.none == IonErrorCode.init);
static assert(IonErrorCode.nop > 0);

Meta