diff options
author | metamuffin <metamuffin@disroot.org> | 2023-04-06 20:23:00 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-04-06 20:23:00 +0200 |
commit | 56fb681279b2f2221eef933617d521469c6e6d83 (patch) | |
tree | 36e0fc43872e2af4e1c51b72e989d01698df1fde /src/error.rs | |
parent | c3c3a07cae6a938534824c32573927dd7a5ece4b (diff) | |
download | gnix-56fb681279b2f2221eef933617d521469c6e6d83.tar gnix-56fb681279b2f2221eef933617d521469c6e6d83.tar.bz2 gnix-56fb681279b2f2221eef933617d521469c6e6d83.tar.zst |
apply limits
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 9a83aff..bf775d1 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,7 @@ #[derive(Debug, thiserror::Error)] pub enum ServiceError { + #[error("limit reached. try again")] + Limit, #[error("hyper error")] Hyper(hyper::Error), #[error("unknown host")] |