diff options
Diffstat (limited to 'oxish-proto/src/lib.rs')
| -rw-r--r-- | oxish-proto/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oxish-proto/src/lib.rs b/oxish-proto/src/lib.rs index ab45ea6..272a1d4 100644 --- a/oxish-proto/src/lib.rs +++ b/oxish-proto/src/lib.rs @@ -645,6 +645,9 @@ pub enum ProtoError { /// An internal invariant was violated (this is a bug) #[error("unreachable code: {0}")] Unreachable(&'static str), + /// The requested service was not available in the current state + #[error("service not available: {0}")] + ServiceNotAvailable(&'static str), } /// An error parsing the peer's identification string |
