uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

Expose Panics to Swift

Open tarikeshaq opened this issue 3 years ago • 0 comments

Currently, panics are handled in a private error type in Swift https://github.com/mozilla/uniffi-rs/blob/main/uniffi_bindgen/src/bindings/swift/templates/Helpers.swift#L3

Do we want to expose that in some form so consumers can check if the code paniced? right now they have no way to identity if the type of error is a panic.

┆Issue is synchronized with this Jira Task ┆Issue Number: UNIFFI-144

tarikeshaq avatar Mar 24 '22 18:03 tarikeshaq