MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / error_message

Method error_message

graphlite/src/catalog/operations.rs:354–359  ·  view source on GitHub ↗

Extract error message from an error response

(&self)

Source from the content-addressed store, hash-verified

352
353 /// Extract error message from an error response
354 pub fn error_message(&self) -> Option<&str> {
355 match self {
356 Self::Error { message } => Some(message),
357 _ => None,
358 }
359 }
360
361 /// Extract items from a list response
362 pub fn items(&self) -> Option<&[Value]> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected