VectorOperationFailed class final

A store operation failed.

Published in addition to the exception being thrown, not instead of it. The caller still has to handle the failure; this is for whoever is watching the system rather than the call.

Inheritance

Constructors

VectorOperationFailed({required String id, required DateTime timestamp, required String store, required String operation, required String code, required String reason, String? namespace, String? runId, String? source, String? traceId, String? spanId})
Creates the event.
const

Properties

code String
The failure's stable code.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique, sortable identifier for this event.
finalinherited
namespace String?
The partition involved, when one was named.
finalinherited
operation String
The operation that failed, such as search.
final
reason String
A human-readable explanation.
final
runId String?
Identifier of the run this event belongs to.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Component that published the event, such as agent:researcher.
finalinherited
spanId String?
Span this event was emitted within, when tracing is active.
finalinherited
store String
The adapter involved, such as qdrant.
finalinherited
timestamp DateTime
When the event occurred, in UTC.
finalinherited
traceId String?
Trace this event was emitted within, when tracing is active.
finalinherited
type String
Stable, dotted type name, such as llm.response.completed.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payload() → JsonMap
Event-specific payload, excluding the envelope fields.
toJson() → JsonMap
Serialises the complete event, envelope included.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited