Table of Contents

Enum EdgeErrorCode

Namespace
Qavren.Edge
Assembly
Qavren.Edge.Core.dll

Stable, programmatically handleable error identity for every EdgeException.

public enum EdgeErrorCode

Fields

Unknown = 0
DuplicateDatabaseName = 1001
NoNativeProviderRegistered = 1002
MultipleNativeProvidersRegistered = 1003
EncryptionKeyWithoutCipherProvider = 1004
EncryptionKeyMissing = 1005
NativeLoadFailed = 2001
NativeVerificationFailed = 2002
MigrationFailed = 3001
MigrationVersionConflict = 3002
DatabaseKeyRejected = 4001
OnnxEnvironmentAlreadyCreated = 5001

Another library created the ORT environment first. Logged, never thrown.

OnnxSessionCreationFailed = 5002
OnnxModelSignatureMismatch = 5003
OnnxExecutionProviderRequired = 5004
OnnxInsufficientMemory = 5005
OnnxUnsupportedRuntime = 5006

osx-x64 and any RID with no ORT native.

OnnxStaticShapesUnpinned = 5007

RequireStaticInputShapes set with no FreeDimensionOverrides.

ModelNotRegistered = 5051
ModelNotProvisioned = 5052
ModelDownloadFailed = 5053
ModelHashMismatch = 5054
ModelAssetMissing = 5055
ModelInsufficientDiskSpace = 5056
TokenizerAssetMissing = 5101
TokenizerKindUnsupported = 5102
EmbeddingDimensionMismatch = 5103
EmbeddingPresetNotFound = 5104
EmbeddingInputTooLong = 5105
VectorCollectionNotFound = 5201
UnsupportedKeyType = 5202
UnsupportedPropertyType = 5203
UnsupportedDistanceFunction = 5204
VectorDimensionMismatch = 5205
FullTextPropertyMissing = 5206
EmbeddingGeneratorMissing = 5207
MultipleVectorPropertiesUnsupported = 5208
NullableVectorProperty = 5209
KnnLimitExceeded = 5210
SqliteVersionTooOld = 5211
VectorStoreOperationFailed = 5212
ReservedColumnName = 5213

A property claims the reserved "_rowid" storage name.

TokenCounterMissing = 6001
IngestionCollectionNotConfigured = 6002
IngestionChunkBudgetInvalid = 6003
IngestionDuplicateExtractorId = 6004
IngestionOptionsInvalid = 6005
IngestionCollectionDimensionMismatch = 6006
IngestionMigrationVersionConflict = 6007
IngestionRunAlreadyActive = 6008
IngestionRecipeChanged = 6009
IngestionRunAborted = 6010
IngestionCollectionSchemaMismatch = 6011
IngestionSourceUnavailable = 6051
IngestionDocumentTooLarge = 6052
IngestionDocumentUnreadable = 6053
IngestionDuplicateDocumentId = 6054
IngestionSourceIdInvalid = 6055
ExtractorNotFound = 6101
ExtractionFailed = 6102
DocumentEncrypted = 6103
DocumentMalformed = 6104
DocumentHasNoTextLayer = 6105
DocumentEncodingUndecodable = 6106
DocumentPageBudgetExceeded = 6107
ChunkExceedsTokenBudget = 6151
ChunkContextTooLong = 6152
ChunkTokenizerCeilingExceeded = 6153
ChunkerProducedEmptyChunk = 6154
MarkdownParseFailed = 6155
IngestionStateMissing = 6201
IngestionHashAlgorithmMismatch = 6202
IngestionStateSchemaUnsupported = 6203
IngestionStateCorrupt = 6204
IngestionCheckpointWriteFailed = 6205
IngestionEmbeddingFailed = 6206
IngestionWriteFailed = 6207
IngestionEmbeddingGeneratorMissing = 6208
ChatEnvironmentNotStarted = 7001
ChatModelLoadFailed = 7002
ChatModelNotRegistered = 7003
ChatUnsupportedRuntime = 7004

No ORT GenAI native for this RID or Android ABI. armeabi-v7a has none.

ChatInsufficientMemory = 7005
ChatDeviceTooSmall = 7006
ChatConfigurationInvalid = 7007

genai_config.json missing, unparseable or incoherent.

ChatModelShapeMismatch = 7008

The config disagrees with the preset's declared shape.

ChatExecutionProviderUnsupported = 7009
ChatModelNotProvisioned = 7051
ChatInsufficientDiskSpace = 7052
ChatDownloadNotPermitted = 7053

ChatProvisioningOptions.IsTransferPermitted said no.

ChatTemplateUnsupported = 7101
ChatPromptTooLong = 7102
ChatGuidanceUnavailable = 7103
ChatGenerationFailed = 7104
ChatBusy = 7105
ChatThermalAbort = 7106
ChatToolCallingUnsupported = 7107
ChatOptionUnsupported = 7108
RagRetrieverMissing = 7201
RagRetrievalFailed = 7202
RagCollectionNotSearchable = 7203
RagContextBudgetTooSmall = 7204