Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Err instead of panic #3

Open
junha1 opened this issue Jun 25, 2020 · 1 comment
Open

Use Err instead of panic #3

junha1 opened this issue Jun 25, 2020 · 1 comment

Comments

@junha1
Copy link
Contributor

junha1 commented Jun 25, 2020

Sandbox is inherently responsible for a robust functionality.
Currently many errors such as protocol miss (failed to deserialize, wrong message, ..), timeout, sudden disconnection are considered as panic.
Instead we should take them as errors to handle.

@junha1
Copy link
Contributor Author

junha1 commented Jul 30, 2020

related: CodeChain-io/remote-trait-object#52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant