-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now there's a trait, FfiError, which handles conversion to a string and numeric code, and a helper struct SignalFfiError that mostly just wraps `Box<dyn FfiError>`. This makes it easier to add new errors -- they only need to be added in two places (a trait impl and possibly new error codes) instead of three.
- Loading branch information
1 parent
4e2a7de
commit 86c07ee
Showing
8 changed files
with
592 additions
and
643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.