pub enum AtmErrorCode {
Show 42 variants
ConfigHomeUnavailable,
ConfigParseFailed,
ConfigRetiredHookMembersKey,
ConfigRetiredLegacyHookKeys,
ConfigTeamParseFailed,
ConfigTeamMissing,
IdentityUnavailable,
AddressParseFailed,
TeamUnavailable,
TeamNotFound,
AgentNotFound,
MailboxReadFailed,
MailboxWriteFailed,
MailboxLockFailed,
MailboxLockReadOnlyFilesystem,
MailboxLockTimeout,
MessageValidationFailed,
SerializationFailed,
FilePolicyRejected,
FileReferenceRewriteFailed,
WaitTimeout,
AckInvalidState,
ClearInvalidState,
ObservabilityEmitFailed,
ObservabilityQueryFailed,
ObservabilityFollowFailed,
ObservabilityHealthFailed,
ObservabilityBootstrapFailed,
ObservabilityHealthOk,
WarningInvalidTeamMemberSkipped,
WarningMailboxRecordSkipped,
WarningMalformedAtmFieldIgnored,
WarningObservabilityHealthDegraded,
WarningOriginInboxEntrySkipped,
WarningMissingTeamConfigFallback,
WarningSendAlertStateDegraded,
WarningIdentityDrift,
WarningBaselineMemberMissing,
WarningRestoreInProgress,
WarningStaleMailboxLock,
WarningHookSkipped,
WarningHookExecutionFailed,
}Expand description
Stable ATM error and warning codes.
Variants§
ATM home directory could not be resolved.
ConfigParseFailed
A generic ATM config parse failed.
ConfigRetiredHookMembersKey
.atm.toml uses a retired post-send hook key.
ConfigRetiredLegacyHookKeys
.atm.toml uses retired flat post-send hook keys.
ConfigTeamParseFailed
Team config parsing failed.
ConfigTeamMissing
Team config document is missing.
Sender identity could not be resolved.
AddressParseFailed
Address parsing failed.
Team could not be resolved from config or input.
TeamNotFound
The requested team does not exist.
AgentNotFound
The requested agent does not exist in the target team.
MailboxReadFailed
Reading a mailbox failed.
MailboxWriteFailed
Writing a mailbox failed.
MailboxLockFailed
Acquiring or releasing a mailbox lock failed.
MailboxLockReadOnlyFilesystem
The mailbox lock path lives on a read-only filesystem.
MailboxLockTimeout
Acquiring a mailbox lock timed out.
MessageValidationFailed
Message validation failed.
SerializationFailed
Serialization or deserialization failed.
FilePolicyRejected
File-policy enforcement rejected the operation.
FileReferenceRewriteFailed
Rewriting a file reference failed.
WaitTimeout
A wait/read timed out.
AckInvalidState
Ack was attempted from an invalid state.
ClearInvalidState
Clear was attempted from an invalid state.
ObservabilityEmitFailed
Emitting an observability event failed.
ObservabilityQueryFailed
Querying retained observability records failed.
ObservabilityFollowFailed
Starting or polling an observability follow session failed.
ObservabilityHealthFailed
Observability health evaluation failed.
ObservabilityBootstrapFailed
Observability bootstrap/initialization failed.
ObservabilityHealthOk
Observability health is healthy.
WarningInvalidTeamMemberSkipped
A malformed team member record was skipped.
WarningMailboxRecordSkipped
A mailbox record was skipped during degraded recovery.
WarningMalformedAtmFieldIgnored
A malformed ATM-owned field was ignored.
WarningObservabilityHealthDegraded
Observability health is degraded.
WarningOriginInboxEntrySkipped
An origin inbox entry was skipped.
WarningMissingTeamConfigFallback
Send fell back because the team config was missing.
WarningSendAlertStateDegraded
Send alert state degraded but the command continued.
WarningIdentityDrift
Obsolete .atm.toml identity config is still present.
WarningBaselineMemberMissing
A baseline team member declared in .atm.toml is missing from config.json.
WarningRestoreInProgress
A restore operation left a stale in-progress marker behind.
WarningStaleMailboxLock
A mailbox lock sentinel persisted for the full doctor run.
WarningHookSkipped
A configured post-send hook was skipped because no filter matched.
WarningHookExecutionFailed
A configured post-send hook failed during best-effort execution.
Implementations§
Trait Implementations§
Source§impl Clone for AtmErrorCode
impl Clone for AtmErrorCode
Source§fn clone(&self) -> AtmErrorCode
fn clone(&self) -> AtmErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AtmErrorCode
impl Debug for AtmErrorCode
Source§impl<'de> Deserialize<'de> for AtmErrorCode
impl<'de> Deserialize<'de> for AtmErrorCode
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for AtmErrorCode
impl Display for AtmErrorCode
Source§impl FromStr for AtmErrorCode
impl FromStr for AtmErrorCode
Source§impl Hash for AtmErrorCode
impl Hash for AtmErrorCode
Source§impl PartialEq for AtmErrorCode
impl PartialEq for AtmErrorCode
Source§impl Serialize for AtmErrorCode
impl Serialize for AtmErrorCode
impl Copy for AtmErrorCode
impl Eq for AtmErrorCode
impl StructuralPartialEq for AtmErrorCode
Auto Trait Implementations§
impl Freeze for AtmErrorCode
impl RefUnwindSafe for AtmErrorCode
impl Send for AtmErrorCode
impl Sync for AtmErrorCode
impl Unpin for AtmErrorCode
impl UnsafeUnpin for AtmErrorCode
impl UnwindSafe for AtmErrorCode
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
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
key and return true if they are equal.