#[repr(u16)]pub enum ErrorCode {
Show 29 variants
FileNotFound = 1,
FilePermission = 2,
FileParseError = 3,
IoError = 10,
ValidationFailed = 100,
TypeMismatch = 101,
InvalidValue = 102,
SchemaValidationFailed = 103,
DecryptionFailed = 200,
KeyNotFound = 201,
KeyTooWeak = 202,
KeyRotationFailed = 203,
RemoteUnavailable = 300,
RemoteTimeout = 301,
CircularReference = 400,
OverrideBlocked = 401,
InterpolationError = 402,
SizeLimitExceeded = 500,
WatcherError = 501,
VersionMismatch = 600,
MigrationFailed = 601,
ModuleNotFound = 700,
ReloadRolledBack = 701,
MultipleSources = 800,
Timeout = 900,
ConcurrencyConflict = 901,
LockPoisoned = 902,
HealthCheckFailed = 903,
Unknown = 999,
}Expand description
Stable numeric error codes for programmatic handling. Values follow category-based ranges per dev-v2.md spec: 1-9 = File/IO, 100-199 = Validation, 200-299 = Crypto, 300-399 = Remote, 400-499 = Reference/Processing, 500-599 = Size/Watcher, 600-699 = Version/Migration, 700-799 = Modules, 800-899 = Multi-source, 900-999 = Timeout/Concurrency/Other
Variants§
FileNotFound = 1
FilePermission = 2
FileParseError = 3
IoError = 10
ValidationFailed = 100
TypeMismatch = 101
InvalidValue = 102
SchemaValidationFailed = 103
DecryptionFailed = 200
KeyNotFound = 201
KeyTooWeak = 202
KeyRotationFailed = 203
RemoteTimeout = 301
CircularReference = 400
OverrideBlocked = 401
InterpolationError = 402
SizeLimitExceeded = 500
WatcherError = 501
VersionMismatch = 600
MigrationFailed = 601
ModuleNotFound = 700
ReloadRolledBack = 701
MultipleSources = 800
Timeout = 900
ConcurrencyConflict = 901
LockPoisoned = 902
HealthCheckFailed = 903
Unknown = 999
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.