obzenflow_core 0.2.5

Core domain layer for ObzenFlow - pure abstractions with minimal dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: 2025-2026 ObzenFlow Contributors
// https://obzenflow.dev

//! Common error handling types for ObzenFlow
//!
//! This module provides the standard Result type used throughout the codebase.

use std::error::Error;

/// Standard Result type for ObzenFlow
///
/// This type alias provides a convenient way to return errors that are
/// Send + Sync, which is required for async code and cross-thread usage.
pub type Result<T> = std::result::Result<T, Box<dyn Error + Send + Sync>>;

/// Re-export for convenience
pub use std::error::Error as StdError;