jhugman / uniffi-bindgen-react-native

A uniffi bindings generator for calling Rust from react-native
https://jhugman.github.io/uniffi-bindgen-react-native/
Other
50 stars 5 forks source link

Add tag property to flat errors #117

Closed jhugman closed 1 month ago

jhugman commented 1 month ago

Fixes #111.

According to The Big O of Code Reviews, this is a O(n) change.

This PR adds a tag property and a MyError_Tags enum to flat errors.

to the error template, it adds some testing of the template, and some docs.