MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / fmt

Method fmt

ch_09/handle-errors/src/lib.rs:34–36  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

32
33impl std::fmt::Display for APILayerError {
34 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
35 write!(f, "Status: {}, Message: {}", self.status, self.message)
36 }
37}
38
39impl std::fmt::Display for Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected