Expand description
§Miette Helper
Simple crate providing helper macros for miette in libraries.
You will get “random” compiler errors, since I decided against checking the type to ensure compatibility with type aliases. please make sure the error isn’t mentioned in the macro doc before reporting.
Macros§
- or_
wrap_ err - Turn an option into an Result with the given error message. If you get an error saying trait bound not satified make sure the first argument is an Option.
- wrap_
err - Turns Error into an Diagnostic and wraps it with the specified error