JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Expose errors

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨6b2125c

⁨src/messages/error.rs⁩ - ⁨176⁩ bytes
Raw
1 use serde::{Deserialize, Serialize};
2
3 #[derive(Debug, Serialize, Deserialize, thiserror::Error)]
4 #[error("error from connection: {0}")]
5 pub struct ConnectionError(pub String);
6