Skip to main content

ember_core/
error.rs

1//! Error types for the core engine.
2
3use thiserror::Error;
4
5/// Errors returned by shard or engine operations.
6#[derive(Debug, Error)]
7pub enum ShardError {
8    /// The target shard is no longer running (channel closed).
9    #[error("shard unavailable")]
10    Unavailable,
11}