use thiserror::Error;
#[derive(Debug, Error)]
pub enum SqliteError {
#[error("SQLite named-graph storage is not implemented")]
UnsupportedNamedGraph,
#[error("the default-graph marker is only valid in the graph slot")]
InvalidDefaultGraphTerm,
#[error("read-only transaction")]
ReadOnly,
#[error("server returned: {0}")]
Server(#[from] turso::Error),
#[error("other error")]
Other,
}