Unverified Commit c7c4809e authored by Mark Hammond's avatar Mark Hammond Committed by GitHub
Browse files

Fix typo in docs for error types (fixes #2370) (#2398)

parent 4e1fac4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ except MyError as e:

This works for procmacros too - just derive or export the types.
```rs
#[derive(Debug, uniffi::Error)]
#[derive(Debug, uniffi::Object)]
pub struct MyError { ... }
#[uniffi::export]
impl MyError { ... }