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

Method details

core/control-panel/impl/src/errors/mapper.rs:17–25  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

15
16impl DetailableError for MapperError {
17 fn details(&self) -> Option<HashMap<String, String>> {
18 let mut details = HashMap::new();
19 match self {
20 MapperError::MalformedUuid { malformed_uuid } => {
21 details.insert("malformed_uuid".to_string(), malformed_uuid.to_string());
22 Some(details)
23 }
24 }
25 }
26}

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected