Skip to main content

Module errors_core

Module errors_core 

Source
Expand description

Core error interfaces shared across the crate.

This module defines:

  • ErrorSeverity: common severity levels
  • UserFriendlyError: trait for multi-level messaging
  • Result<T, E = Box<dyn std::error::Error + Send + Sync>>: lightweight alias for pure/core layers

The goal is to keep this module free of downstream dependencies so other modules can depend on it without creating cycles. Integration-specific mappings (e.g., HTTP/serde/logging) should live in higher layers.

Enums§

ErrorSeverity
Error severity levels for proper categorization and handling.

Traits§

UserFriendlyError
Trait providing user-friendly error messaging at multiple levels.

Type Aliases§

Result
Lightweight result alias for core layers.