pub enum ErrorCode {
Show 28 variants
E001BlockNotFound,
E002InvalidBlockId,
E003InvalidDocumentId,
E100MalformedCommand,
E101InvalidPath,
E102InvalidValue,
E103UnexpectedToken,
E200SchemaViolation,
E201CycleDetected,
E202InvalidStructure,
E203OrphanedBlock,
E204DuplicateId,
E300VersionConflict,
E301TransactionTimeout,
E302DeadlockDetected,
E303TransactionNotFound,
E400DocumentSizeExceeded,
E401MemoryLimitExceeded,
E402BlockSizeExceeded,
E403NestingDepthExceeded,
E404EdgeCountExceeded,
E405ExecutionTimeout,
E500PathTraversal,
E501DisallowedScheme,
E502InvalidInput,
E900InternalError,
E901SerializationError,
E902IoError,
}Expand description
Error codes for categorization and i18n
Variants§
E001BlockNotFound
E002InvalidBlockId
E003InvalidDocumentId
E100MalformedCommand
E101InvalidPath
E102InvalidValue
E103UnexpectedToken
E200SchemaViolation
E201CycleDetected
E202InvalidStructure
E203OrphanedBlock
E204DuplicateId
E300VersionConflict
E301TransactionTimeout
E302DeadlockDetected
E303TransactionNotFound
E400DocumentSizeExceeded
E401MemoryLimitExceeded
E402BlockSizeExceeded
E403NestingDepthExceeded
E404EdgeCountExceeded
E405ExecutionTimeout
E500PathTraversal
E501DisallowedScheme
E502InvalidInput
E900InternalError
E901SerializationError
E902IoError
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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
Mutably borrows from an owned value. Read more