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

Enum Error

ch_06/handle-errors/src/lib.rs:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8#[derive(Debug)]
9pub enum Error {
10 ParseError(std::num::ParseIntError),
11 MissingParameters,
12 QuestionNotFound,
13}
14
15impl std::fmt::Display for Error {
16 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