MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / PuzzleError

Enum PuzzleError

example/puzzles/src/lib.rs:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160#[derive(Debug, Error)]
161#[non_exhaustive]
162pub enum PuzzleError {
163 #[error("Piece {0} doesn't fit!")]
164 WontFit(u16),
165 #[error("Missing a piece")]
166 MissingPiece,
167}
168
169// #5: Debug + Display + Error
170// impl Display for PuzzleError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected