Closed Syndelis closed 3 months ago
Resolves #54
This PR swaps the panic call for proper error handling. The function now returns a Result with a specialized error type, rather than an Option.
Result
Option
Tests for these new errors are still TODO; I just wanted to collect some feedback on this first.
Thank you for your PR, and congrats on your first contribution! 🎉
Resolves #54
This PR swaps the panic call for proper error handling. The function now returns a
Result
with a specialized error type, rather than anOption
.Tests for these new errors are still TODO; I just wanted to collect some feedback on this first.