RagError class sealed
- Implemented types
- Available extensions
- Annotations
-
- @freezed
Constructors
- RagError.concurrentMutation(String field0)
-
Search metadata creation raced with a concurrent collection mutation.
constfactory
- RagError.databaseError(String field0)
-
Database related error (potential for retry).
constfactory
- RagError.embeddingFingerprintMismatch(String field0, String field1, PlatformInt64 field2)
-
The currently loaded embedding model produced a fingerprint that does
not match the one persisted on disk. Search and ingest must remain
locked until the host app explicitly drives either reembed-all or
clear-and-restart. Field order: (stored, current, remaining_chunks).
constfactory
- RagError.internalError(String field0)
-
Internal system error (HNSW, Logic, etc.).
constfactory
- RagError.invalidInput(String field0)
-
User input error (invalid query, etc.).
constfactory
- RagError.ioError(String field0)
-
I/O error (file missing, permission issues, etc.).
constfactory
- RagError.modelLoadError(String field0)
-
Failed to load embedding model.
constfactory
- RagError.staleSearchHandle(String field0)
-
Search handle became stale because collection data changed.
constfactory
- RagError.unknown(String field0)
-
Unknown error.
constfactory
- RagError.unsupportedMigrationVersion(String field0, PlatformInt64 field1, PlatformInt64 field2)
-
A persisted
migration_metaaxis is newer than this build can read. Field order: (axis_key, stored_version, supported_version). Downgrade is unsupported; the user must upgrade the engine binary.constfactory
Properties
-
copyWith
→ $RagErrorCopyWith<
RagError> -
Create a copy of RagError
with the given fields replaced by the non-null parameter values.
no setterinherited
- field0 → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Available on RagError, provided by the RagErrorMessage extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- technicalMessage → String
-
Available on RagError, provided by the RagErrorUi extension
The technical details for debugging (same as original message).no setter - userFriendlyMessage → String
-
Available on RagError, provided by the RagErrorUi extension
A user-friendly message suitable for UI display (Snackbars, Dialogs).no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited