Skip to content

Commit

Permalink
Add some error handling to taker_protocol.rs
Browse files Browse the repository at this point in the history
All the functions now use Result. In almost all cases the errors
are still just used with unwrap() in the main taker function, so
any unexpected result will just cause a crash.

Later the taker will be coded to change its behaviour when an error
happens. For example if a maker doesnt reply then the taker will
try to find another one which does.
  • Loading branch information
chris-belcher committed Jun 26, 2021
1 parent 4282fd6 commit 0d235b3
Showing 1 changed file with 83 additions and 90 deletions.
Loading

0 comments on commit 0d235b3

Please sign in to comment.