Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Update Aleth tools to return error codes #5491

Merged
merged 1 commit into from
Feb 13, 2019
Merged

Conversation

halfalicious
Copy link
Contributor

Prior to these changes the various Aleth tools (e.g. aleth, aleth-bootnode, aleth-vm) would return -1 on error. These changes define a new error enum (AlethError) with error codes for the various error conditions and update the various tools to return these codes.

@halfalicious
Copy link
Contributor Author

Need to fix bad cherry pick

Prior to these changes the various Aleth tools (e.g. aleth, aleth-bootnode, aleth-vm) would return -1 on error. These changes define a new error enum (AlethError) with error codes for the various error conditions and update the various tools to return these codes.
@halfalicious halfalicious requested review from gumb0 and chfast and removed request for gumb0 February 13, 2019 17:50
@halfalicious
Copy link
Contributor Author

Need to fix bad cherry pick

Fixed

@halfalicious
Copy link
Contributor Author

I'd like to merge this change before the aleth-bootnode one (#5485) so I can update aleth-bootnode to return the appropriate error code for the new error that it detects (network not started).

@halfalicious halfalicious merged commit 4754e7a into master Feb 13, 2019
@halfalicious halfalicious deleted the return-error-codes branch February 13, 2019 18:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants