From 7ba652e291bb52d97faa6d21e7821a64664a00ae Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sun, 29 May 2022 23:47:06 -0400 Subject: handlers: Implement CRD handlers Update handler was removed for now. Also postgres! --- src/errors.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index 70b1a43..42477c0 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -9,6 +9,9 @@ pub enum ServiceError { #[error("Axum error: {0}")] Axum(#[from] axum::Error), + + #[error("SQL error: {0}")] + Sql(#[from] sqlx::Error), } pub type StringResult = Result; -- cgit v1.2.3