Added query parameters.
This commit is contained in:
@@ -12,6 +12,9 @@ pub enum RepositoryError {
|
||||
|
||||
#[error(transparent)]
|
||||
Decode(#[from] DecodeError),
|
||||
|
||||
#[error(transparent)]
|
||||
QueryConversion(#[from] QueryConversionError),
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
@@ -34,3 +37,12 @@ pub enum DecodeError {
|
||||
#[error("invalid weekend_adjustment value: {0}")]
|
||||
WeekendAdjustment(String),
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum QueryConversionError {
|
||||
#[error("Failed to convert limit: {0}")]
|
||||
Limit(u64),
|
||||
|
||||
#[error("Failed to convert offset: {0}")]
|
||||
Offset(u64),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user