Skip to content

Commit

Permalink
chore(control_mode): change unwrap to ok_or method
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonGepting committed Feb 10, 2024
1 parent 356050b commit c067c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pub enum Error {

ParseInt(std::num::ParseIntError),
Parse(std::string::ParseError),
CMParseNum,
CMParseStr,
}

//impl Error {
Expand Down

0 comments on commit c067c96

Please sign in to comment.