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

Class APILayerError

ch_11/handle-errors/src/lib.rs:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29#[derive(Debug, Clone)]
30pub struct APILayerError {
31 pub status: u16,
32 pub message: String,
33}
34
35impl std::fmt::Display for APILayerError {
36 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