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

Enum Error

ch_04/final/src/main.rs:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66#[derive(Debug)]
67enum Error {
68 ParseError(std::num::ParseIntError),
69 MissingParameters,
70 QuestionNotFound,
71}
72
73impl std::fmt::Display for Error {
74 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