From 465a590a099ce55efd4511e92e01ffc8a7ec4d0c Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Fri, 3 Oct 2025 09:44:58 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(error):=20add=20error=20type?= =?UTF-8?q?=20for=20invalid=20paging=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add `InvalidPagingMode` error to handle invalid paging options --- src/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/error.rs b/src/error.rs index 02f1e44..1888c10 100644 --- a/src/error.rs +++ b/src/error.rs @@ -3,6 +3,9 @@ use thiserror::Error; /// Error messages for cull-gmail #[derive(Debug, Error)] pub enum Error { + /// Invalid paging mode option + #[error("Invalid paging mode option")] + InvalidPagingMode, /// Configuration directory not set #[error("Configuration directory not set")] DirectoryUnset,