1pub type Result<T> = core::result::Result<T, NihilityRpcError>;
2
3#[derive(thiserror::Error, Debug)]
4pub enum NihilityRpcError {
5 #[error(transparent)]
6 ParseString(#[from] alloc::string::FromUtf8Error),
7 #[error(transparent)]
8 ProstDecode(#[from] prost::DecodeError),
9}