MCPcopy Create free account
hub / github.com/dfinity/orbit / details

Method details

libs/orbit-essentials/src/pagination.rs:14–22  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

12
13impl DetailableError for PaginationError {
14 fn details(&self) -> Option<HashMap<String, String>> {
15 let mut details = HashMap::new();
16 match self {
17 PaginationError::MaxLimitExceeded { max } => {
18 details.insert("max".to_string(), max.to_string());
19 Some(details)
20 }
21 }
22 }
23}
24
25#[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected