aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-04-06 20:23:00 +0200
committermetamuffin <metamuffin@disroot.org>2023-04-06 20:23:00 +0200
commit56fb681279b2f2221eef933617d521469c6e6d83 (patch)
tree36e0fc43872e2af4e1c51b72e989d01698df1fde /src/error.rs
parentc3c3a07cae6a938534824c32573927dd7a5ece4b (diff)
downloadgnix-56fb681279b2f2221eef933617d521469c6e6d83.tar
gnix-56fb681279b2f2221eef933617d521469c6e6d83.tar.bz2
gnix-56fb681279b2f2221eef933617d521469c6e6d83.tar.zst
apply limits
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
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")]