Scaffold Rust client workspace

This commit is contained in:
Joseph Doherty
2026-04-26 19:47:26 -04:00
parent 9dcd4baff2
commit ee88f9d647
17 changed files with 1886 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
use thiserror::Error as ThisError;
#[derive(Debug, ThisError)]
pub enum Error {
#[error("invalid gateway endpoint `{endpoint}`: {detail}")]
InvalidEndpoint { endpoint: String, detail: String },
#[error("gateway transport error: {0}")]
Transport(#[from] tonic::transport::Error),
#[error("gateway status error: {0}")]
Status(#[from] tonic::Status),
}