Expand description
§Core Error Types (local, superseded)
Base building blocks of Mountain’s error taxonomy. Defines five
core types: ErrorSeverity, ErrorKind, ErrorContext,
MountainError, and a generic Result<T> alias. The five
per-domain sibling modules (IPCError, FileSystemError,
ConfigurationError, ProviderError, ServiceError) wrap an
ErrorContext and converge on MountainError via a From impl.
§Status
Zero callers as of 2026-05-02. These types are superseded by
CommonLibrary::Error::CommonError. The module remains in place
so that a future migration back to per-domain error types can
pick up the existing constructors without rebuilding them. Do not
add new callers - use CommonError directly.
Structs§
- Error
Context - Companion metadata attached to every
MountainError. Carries the human-readable message, categorization viaErrorKindandErrorSeverity, and optional operation/component context for log aggregation. - Mountain
Error - Base error type for Mountain, wrapping an
ErrorContextwith optional raw source text and an optional stack trace snapshot.
Enums§
- Error
Kind - Top-level error category assigned to every error at construction time. Used for routing, filtering, and aggregation in log sinks.
- Error
Severity - Severity level of an error, used to categorize the impact of an error from informational to critical.
Type Aliases§
- Result
- Result type alias for Mountain operations.