mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
No production deployments exist, so there's no need for migration shims. Remove all six backwards-compat type aliases (AgentError, SdkError, CoreError, GraphvizError, StoreError, FabroError) and migrate ~880 callsites to use the canonical Error name directly within each crate, or qualified imports (e.g., `use fabro_llm::Error as LlmError`) for cross-crate references. Also fix a pre-existing absolute-path clippy lint in fabro-server error.rs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
251 B
Rust
12 lines
251 B
Rust
use thiserror::Error as ThisError;
|
|
|
|
#[derive(Debug, ThisError)]
|
|
pub enum Error {
|
|
#[error("Parse error: {0}")]
|
|
Parse(String),
|
|
|
|
#[error("Stylesheet error: {0}")]
|
|
Stylesheet(String),
|
|
}
|
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|