mirror of
https://github.com/trailbaseio/trailbase
synced 2026-05-02 18:57:42 +00:00
13 lines
316 B
Rust
13 lines
316 B
Rust
|
|
#[derive(thiserror::Error, Debug)]
|
||
|
|
#[allow(unused)]
|
||
|
|
pub enum BenchmarkError {
|
||
|
|
#[error("Other error: {0}")]
|
||
|
|
Other(Box<dyn std::error::Error + Sync + Send>),
|
||
|
|
|
||
|
|
#[error("Rusqlite error: {0}")]
|
||
|
|
Rusqlite(#[from] rusqlite::Error),
|
||
|
|
|
||
|
|
#[error("TrailBase error: {0}")]
|
||
|
|
TrailBase(#[from] trailbase_sqlite::Error),
|
||
|
|
}
|