Files
qiming/qiming-run_code_rmcp/src/app_error.rs
2026-06-01 13:43:09 +08:00

11 lines
244 B
Rust

use thiserror::Error;
#[derive(Error, Debug)]
pub enum AppError {
#[error("Failed to create temporary file: {0}")]
IoError(#[from] std::io::Error),
#[error("Failed to parse JSON: {0}")]
JsonError(#[from] serde_json::Error),
}