Skip to repository content26 lines · 568 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T02:53:52.655Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
error.rs
1//! Watch error types.
2
3use std::fmt;
4
5#[derive(Debug, Eq, PartialEq)]
6pub struct NoReceiverError;
7
8impl fmt::Display for NoReceiverError {
9 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
10 write!(fmt, "all receivers were dropped")
11 }
12}
13
14impl std::error::Error for NoReceiverError {}
15
16#[derive(Debug, Eq, PartialEq)]
17pub struct NoSenderError;
18
19impl fmt::Display for NoSenderError {
20 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
21 write!(fmt, "sender was dropped")
22 }
23}
24
25impl std::error::Error for NoSenderError {}
26