sui_indexer_alt_jsonrpc/api/objects/
error.rs1#[derive(thiserror::Error, Debug)]
5pub(crate) enum Error {
6 #[error("Object filter contains more than the maximum {max} type filters")]
7 FilterTooBig { max: usize },
8
9 #[error("Object filter nested deeper than maximum of {max}")]
10 FilterTooDeep { max: usize },
11
12 #[error("Pagination issue: {0}")]
13 Pagination(#[from] crate::paginate::Error),
14
15 #[error("Requested {requested} keys, exceeding maximum {max}")]
16 TooManyKeys { requested: usize, max: usize },
17}