-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: made plugin actions return
Result
Errors on the engine-side are automatically handled and returned through the CLI, while those on the browser-side are handled through a single `panic!` that will go to the user's defined browser-side panic handler Closes #234. BREAKING CHANGE: all plugin actions must now return `Result<T, Box<dyn std::error::Error>>` (return some arbitrary error and then use `.into()`) BREAKING CHANGE: all plugin actions that previously took `Rc<perseus::errors::EngineError>` now take `Rc<perseus::errors::Error>`
- Loading branch information
1 parent
9c3444a
commit 42f0d99
Showing
13 changed files
with
268 additions
and
139 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
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
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
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.