SFCryptocurrencyDevs / tipmebch

Shipping New CryptoApps with Tipping on Telegram. Join us! -->
MIT License
4 stars 4 forks source link

Modularize w/ slighlty better error handling #19

Closed robertDurst closed 6 years ago

robertDurst commented 6 years ago

Beginning to make error handling better. This will be key for when we start to handle more complex user inputs. Here is a good place to read up: https://doc.rust-lang.org/book/second-edition/ch09-02-recoverable-errors-with-result.html

Also, split code to make more modular. This will make it easier to add more commands since there is not just one large stream command.

That being said, it may be a good idea to take this further...