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

Method fmt

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected