From 7d509e08a0f637025d318378c4ad6626a6413b5c Mon Sep 17 00:00:00 2001 From: Evan <0xIchigo@protonmail.com> Date: Wed, 17 Apr 2024 19:25:00 -0400 Subject: [PATCH] Rename TooManyRequests Error to RateLimitExceeded --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index bcca61a..ce4fcde 100644 --- a/src/error.rs +++ b/src/error.rs @@ -11,7 +11,7 @@ pub enum HeliusError { InternalError { code: StatusCode, text: String}, #[error("Too many requests made to {path}")] - TooManyRequests { path: String }, + RateLimitExceeded { path: String }, #[error("Unauthorized access to {path}: {text}")] Unauthorized { path: String, text: String },