rdf-store-postgres 0.4.4

A PostgreSQL storage adapter for RDF.rs knowledge graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This is free and unencumbered software released into the public domain.

use thiserror::Error;

/// An error when interacting with a PostgreSQL store.
#[derive(Debug, Error)]
pub enum PostgresError {
    #[error("read-only transaction")]
    ReadOnly,

    #[error("server returned: {0}")]
    Server(#[from] tokio_postgres::Error),

    #[error("other error")]
    Other,
}