Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T01:49:47.933Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

error.rs

26 lines · 568 B · rust
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
Served at tenant.openagents/omega Member data and write actions are omitted.