MCPcopy Create free account
hub / github.com/bajrangCoder/setu / error_message

Method error_message

src/entities/response.rs:523–528  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

521 self.payload.cached_raw_body = Some(raw.clone());
522 raw
523 }
524
525 /// Check if response is JSON based on content-type
526 pub fn is_json(&self) -> bool {
527 self.content_category() == ContentCategory::Json
528 }
529
530 /// Check if response is an image
531 pub fn is_image(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected