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

Enum Error

ch_07/handle-errors/src/lib.rs:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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