ormigo 0.1.0

A fluent, async ORM for Rust (SQLite-first)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// ---------- src/error.rs ----------
use thiserror::Error;


#[derive(Error, Debug)]
pub enum OrmigoError {
#[error("Database error: {0}")]
SqlxError(#[from] sqlx::Error),


#[error("Other error: {0}")]
Other(String),
}