pub enum MnemeError {
Show 32 variants
NotFound(Uuid),
ProjectRequired,
EmptyQuery,
InvalidMemoryType(String),
InvalidImportance(String),
InvalidScope(String),
InvalidRelationType(String),
RelationAlreadyExists(Uuid, Uuid),
SelfRelation(Uuid),
DuplicateDetected(String),
Database(Error),
Migration(String),
Io(Error),
Serialization(Error),
Config(String),
Http(String),
Mcp(String),
Embeddings(String),
EmbeddingsDisabled,
PeerNotFound(Uuid),
SyncFailed {
peer: String,
message: String,
},
SyncDisabled,
UnsupportedTransport(String),
InvalidSyncFile(String),
Compression(String),
NoRecipientsConfigured,
DecryptionFailed,
IdentityNotLoaded,
AlreadyEncrypted(Uuid),
NotEncrypted(Uuid),
KeyNotFound(String),
Plugin(String),
}Expand description
Error principal del sistema Mneme.
Variants§
NotFound(Uuid)
Memoria no encontrada con el UUID proporcionado.
ProjectRequired
Se requiere un proyecto para esta operación.
EmptyQuery
La consulta de búsqueda está vacía.
InvalidMemoryType(String)
Tipo de memoria inválido.
InvalidImportance(String)
Importancia inválida.
InvalidScope(String)
Alcance inválido.
InvalidRelationType(String)
Tipo de relación inválido.
RelationAlreadyExists(Uuid, Uuid)
La relación entre dos memorias ya existe.
SelfRelation(Uuid)
No se permite una relación de una memoria consigo misma.
DuplicateDetected(String)
Se detectó un duplicado.
Database(Error)
Error de la base de datos SQLite.
Migration(String)
Error durante la migración.
Io(Error)
Error de entrada/salida.
Serialization(Error)
Error de serialización.
Config(String)
Error de configuración.
Http(String)
Error del servidor HTTP.
Mcp(String)
Error del protocolo MCP.
Embeddings(String)
Error de embeddings.
EmbeddingsDisabled
Modelo de embeddings no disponible.
PeerNotFound(Uuid)
Peer no encontrado.
SyncFailed
Error de sync con peer.
SyncDisabled
Sync deshabilitado.
UnsupportedTransport(String)
Transporte no soportado.
InvalidSyncFile(String)
Archivo de sync invalido.
Compression(String)
Error de compresion.
NoRecipientsConfigured
Encriptación no disponible — no hay recipients configurados.
DecryptionFailed
Fallo de desencriptación.
IdentityNotLoaded
Identidad de desencriptación no cargada.
AlreadyEncrypted(Uuid)
Memoria ya encriptada.
NotEncrypted(Uuid)
Memoria no encriptada.
KeyNotFound(String)
Clave no encontrada.
Plugin(String)
Error de plugin WASM.
Implementations§
Trait Implementations§
Source§impl Debug for MnemeError
impl Debug for MnemeError
Source§impl Display for MnemeError
impl Display for MnemeError
Source§impl Error for MnemeError
impl Error for MnemeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<AutomergeError> for MnemeError
impl From<AutomergeError> for MnemeError
Source§fn from(err: AutomergeError) -> Self
fn from(err: AutomergeError) -> Self
Source§impl From<Error> for MnemeError
impl From<Error> for MnemeError
Source§impl From<Error> for MnemeError
impl From<Error> for MnemeError
Source§impl From<Error> for MnemeError
impl From<Error> for MnemeError
Auto Trait Implementations§
impl !RefUnwindSafe for MnemeError
impl !UnwindSafe for MnemeError
impl Freeze for MnemeError
impl Send for MnemeError
impl Sync for MnemeError
impl Unpin for MnemeError
impl UnsafeUnpin for MnemeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more