Report a bug
If you spot a problem with this page, click here to create a GitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
mir.ion.exception
Mir Ion error codes, messages, and exceptions.
- enum
IonErrorCode: int; - Ion Error CodesExamples:
static assert(!IonErrorCode.none); static assert(IonErrorCode.none == IonErrorCode.init); static assert(IonErrorCode.nop > 0);
nonenopjsonUnexpectedValuejsonUnexpectedEndsymbolTableCantInsertKeyillegalTypeDescriptorunexpectedEndOfDataunexpectedIonTypeoverflowInParseVarUIntoverflowInParseVarIntoverflowInIntegerValueoverflowInDecimalValueoverflowInSymbolIdzeroAnnotationsillegalBinaryDataillegalTimeStampwrongBoolDescriptorwrongIntDescriptorwrongFloatDescriptornullBoolnullIntnullFloatnullTimestampexpectedNullValueexpectedBoolValueexpectedIntegerValueexpectedFloatingValueexpectedEnumValueexpectedStringValueexpectedCharValueexpectedStructValueexpectedListValueexpectedTimestampValuerequiredDefaultClassConstructorintegerOverflowsmallStringOverflowsmallArrayOverflowunexpectedVersionMarkercantParseValueStreamsymbolIdIsTooLargeForTheCurrentSymbolTableinvalidLocalSymbolTablesharedSymbolTablesAreUnsupportedunableToOpenFileeoferrorReadingFileerrorReadingStreamtooManyElementsForStaticArraynotEnoughElementsForStaticArrayunusedAnnotationsmissingAnnotationcantConvertAnnotationToEnumexpectedIonStructForAnAssociativeArrayDeserializationunexpectedComma
- pure nothrow @nogc @property @safe string
ionErrorMsg()(IonErrorCodecode); - Parameters:
IonErrorCode codeIonErrorCode Returns:corresponding error messageExamples:static assert(IonErrorCode.nop.ionErrorMsg == "unexpected NOP Padding", IonErrorCode.nop.ionErrorMsg); static assert(IonErrorCode.none.ionErrorMsg is null);
- class
IonException: mir.serde.SerdeException; - Mir Ion Exception Class
- pure nothrow @nogc @safe this(string
msg, stringfile= __FILE__, size_tline= __LINE__, Throwablenext= null); - pure nothrow @nogc @safe this(string
msg, Throwablenext, stringfile= __FILE__, size_tline= __LINE__);
- class
IonMirException: mir.ion.exception.IonException; - Mir Ion Exception Class
- class
IonParserMirException: mir.ion.exception.IonMirException; - Mir Ion Parser Exception ClassThe exception is used for JSON parsing.
- size_t
location; - pure nothrow @nogc @safe this(scope const(char)[]
msg, size_tlocation, stringfile= __FILE__, size_tline= __LINE__, Throwablenext= null); - pure nothrow @nogc @safe this(scope const(char)[]
msg, size_tlocation, Throwablenext, stringfile= __FILE__, size_tline= __LINE__);
- pure nothrow @nogc @property @trusted IonException
ionException()(IonErrorCodecode); - Parameters:
IonErrorCode codeIonErrorCode Returns:Examples:static assert(IonErrorCode.nop.ionException.msg == "IonException: unexpected NOP Padding", IonErrorCode.nop.ionException.msg); static assert(IonErrorCode.none.ionException is null);
Copyright © 2016-2022 by Ilya Yaroshenko | Page generated by
Ddoc on Thu Mar 10 07:43:23 2022