Enum EdgeErrorCode
Stable, programmatically handleable error identity for every EdgeException.
public enum EdgeErrorCode
Fields
Unknown = 0DuplicateDatabaseName = 1001NoNativeProviderRegistered = 1002MultipleNativeProvidersRegistered = 1003EncryptionKeyWithoutCipherProvider = 1004EncryptionKeyMissing = 1005NativeLoadFailed = 2001NativeVerificationFailed = 2002MigrationFailed = 3001MigrationVersionConflict = 3002DatabaseKeyRejected = 4001OnnxEnvironmentAlreadyCreated = 5001Another library created the ORT environment first. Logged, never thrown.
OnnxSessionCreationFailed = 5002OnnxModelSignatureMismatch = 5003OnnxExecutionProviderRequired = 5004OnnxInsufficientMemory = 5005OnnxUnsupportedRuntime = 5006osx-x64 and any RID with no ORT native.
OnnxStaticShapesUnpinned = 5007RequireStaticInputShapes set with no FreeDimensionOverrides.
ModelNotRegistered = 5051ModelNotProvisioned = 5052ModelDownloadFailed = 5053ModelHashMismatch = 5054ModelAssetMissing = 5055ModelInsufficientDiskSpace = 5056TokenizerAssetMissing = 5101TokenizerKindUnsupported = 5102EmbeddingDimensionMismatch = 5103EmbeddingPresetNotFound = 5104EmbeddingInputTooLong = 5105VectorCollectionNotFound = 5201UnsupportedKeyType = 5202UnsupportedPropertyType = 5203UnsupportedDistanceFunction = 5204VectorDimensionMismatch = 5205FullTextPropertyMissing = 5206EmbeddingGeneratorMissing = 5207MultipleVectorPropertiesUnsupported = 5208NullableVectorProperty = 5209KnnLimitExceeded = 5210SqliteVersionTooOld = 5211VectorStoreOperationFailed = 5212ReservedColumnName = 5213A property claims the reserved "_rowid" storage name.
TokenCounterMissing = 6001IngestionCollectionNotConfigured = 6002IngestionChunkBudgetInvalid = 6003IngestionDuplicateExtractorId = 6004IngestionOptionsInvalid = 6005IngestionCollectionDimensionMismatch = 6006IngestionMigrationVersionConflict = 6007IngestionRunAlreadyActive = 6008IngestionRecipeChanged = 6009IngestionRunAborted = 6010IngestionCollectionSchemaMismatch = 6011IngestionDocumentTooLarge = 6052IngestionDocumentUnreadable = 6053IngestionDuplicateDocumentId = 6054IngestionSourceIdInvalid = 6055ExtractorNotFound = 6101ExtractionFailed = 6102DocumentEncrypted = 6103DocumentMalformed = 6104DocumentHasNoTextLayer = 6105DocumentEncodingUndecodable = 6106DocumentPageBudgetExceeded = 6107ChunkExceedsTokenBudget = 6151ChunkContextTooLong = 6152ChunkTokenizerCeilingExceeded = 6153ChunkerProducedEmptyChunk = 6154MarkdownParseFailed = 6155IngestionStateMissing = 6201IngestionHashAlgorithmMismatch = 6202IngestionStateSchemaUnsupported = 6203IngestionStateCorrupt = 6204IngestionCheckpointWriteFailed = 6205IngestionEmbeddingFailed = 6206IngestionWriteFailed = 6207IngestionEmbeddingGeneratorMissing = 6208ChatEnvironmentNotStarted = 7001ChatModelLoadFailed = 7002ChatModelNotRegistered = 7003ChatUnsupportedRuntime = 7004No ORT GenAI native for this RID or Android ABI. armeabi-v7a has none.
ChatInsufficientMemory = 7005ChatDeviceTooSmall = 7006ChatConfigurationInvalid = 7007genai_config.json missing, unparseable or incoherent.
ChatModelShapeMismatch = 7008The config disagrees with the preset's declared shape.
ChatExecutionProviderUnsupported = 7009ChatModelNotProvisioned = 7051ChatInsufficientDiskSpace = 7052ChatDownloadNotPermitted = 7053ChatProvisioningOptions.IsTransferPermitted said no.
ChatTemplateUnsupported = 7101ChatPromptTooLong = 7102ChatGenerationFailed = 7104ChatBusy = 7105ChatThermalAbort = 7106ChatToolCallingUnsupported = 7107ChatOptionUnsupported = 7108RagRetrieverMissing = 7201RagRetrievalFailed = 7202RagCollectionNotSearchable = 7203RagContextBudgetTooSmall = 7204