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

Class APILayerError

ch_09/handle-errors/src/lib.rs:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27#[derive(Debug, Clone)]
28pub struct APILayerError {
29 pub status: u16,
30 pub message: String,
31}
32
33impl std::fmt::Display for APILayerError {
34 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected