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

Method set_error

src/entities/response.rs:497–502  ·  view source on GitHub ↗
(&mut self, error: String, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

495 self.payload.body_bytes.len()
496 };
497 }
498
499 self.payload.cached_formatted_body = None;
500 self.payload.cached_raw_body = None;
501 self.payload.body_hash =
502 Self::compute_stored_hash(&self.payload.body, &self.payload.body_bytes);
503
504 had_body_bytes && self.payload.body_bytes.is_empty()
505 }

Callers 1

send_requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected