You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When optimizing assets, manganis currently unwraps in a few places that may fail (eg. opening a file here). We should return an error instead
Moving away from anyhow
Anyhow is great for binaries and prototyping libraries, but it makes it difficult to handle different errors in CLIs using manganis. We should switch to an enum with explicit error types using thiserror
Implement Suggestion
Bubble up more errors with ?
Switch to an error enum with error derived using thiserror
The text was updated successfully, but these errors were encountered:
Specific Demand
unwrap
sWhen optimizing assets, manganis currently
unwraps
in a few places that may fail (eg. opening a file here). We should return an error insteadanyhow
Anyhow is great for binaries and prototyping libraries, but it makes it difficult to handle different errors in CLIs using manganis. We should switch to an enum with explicit error types using thiserror
Implement Suggestion
?
The text was updated successfully, but these errors were encountered: