plotly.rs icon indicating copy to clipboard operation
plotly.rs copied to clipboard

Depreciate panic!'s for Result<T, E>

Open Scipi opened this issue 5 years ago • 0 comments

The widespread use of .unwrap() and .expect() make this library unsuitable for use in applications that need to be fault-tolerant, such as webservers, etc. Consider refactoring code that can fail to use an Error type that encapsulates what went wrong so client code can decide how to handle the failure. If you'd like, I can make this change and submit a pull-request.

Scipi avatar Dec 31 '20 00:12 Scipi