Skip to main content

better_url/errors/
query.rs

1//! Query stuff.
2
3use thiserror::Error;
4
5use crate::prelude::*;
6
7/// Returned when failing to set some/all of a path.
8#[derive(Debug, Error)]
9pub enum SetQueryError {
10    /** [`InsertNotFound`]. */ #[error(transparent)] InsertNotFound(#[from] InsertNotFound),
11    /** [`RangeNotFound`].  */ #[error(transparent)] RangeNotFound (#[from] RangeNotFound ),
12    /** [`CantBeNone`].     */ #[error(transparent)] CantBeNone    (#[from] CantBeNone    ),
13    /** [`TooLong`].        */ #[error(transparent)] TooLong       (#[from] TooLong       ),
14}