rdf_store_sqlite/error.rs
1// This is free and unencumbered software released into the public domain.
2
3use thiserror::Error;
4
5/// An error when interacting with a SQLite store.
6#[derive(Debug, Error)]
7pub enum SqliteError {
8 #[error("read-only transaction")]
9 ReadOnly,
10
11 #[error("server returned: {0}")]
12 Server(#[from] turso::Error),
13
14 #[error("other error")]
15 Other,
16}