✨ feat(error): add error type for invalid paging mode
- add `InvalidPagingMode` error to handle invalid paging options
This commit is contained in:
committed by
Jeremiah Russell
parent
a9b591c9d5
commit
465a590a09
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user