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

Replace iroha_error with thiserror and eyre #1429

Merged

Conversation

KalitaAlexey
Copy link

Description of the Change

iroha_error is a crate that contained means to make it easier to make a custom error and to create chains of errors.
This code is almost identical to crates thiserror and eyre.

Issue

Resolves #1223

Benefits

Replacing iroha_error with thiserror and eyre reduces burden and increases stability.

Possible Drawbacks

None

Usage Examples or Tests

iroha/src/tx.rs (transaction_not_accepted) is changed

@e-ivkov
Copy link
Contributor

e-ivkov commented Sep 10, 2021

You have to also sign the commit properly - check the DCO CI check info.

@github-actions github-actions bot added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Sep 10, 2021
iroha_error/src/lib.rs Outdated Show resolved Hide resolved
iroha/docs/src/main.rs Outdated Show resolved Hide resolved
iroha_cli/Cargo.toml Outdated Show resolved Hide resolved
iroha_client/tests/unstable_network.rs Outdated Show resolved Hide resolved
iroha_client_cli/Cargo.toml Outdated Show resolved Hide resolved
iroha_crypto_cli/Cargo.toml Outdated Show resolved Hide resolved
@KalitaAlexey KalitaAlexey force-pushed the migrate-to-thiserror branch 2 times, most recently from 1ff39ec to 93bc57a Compare September 15, 2021 12:25
i1i1
i1i1 previously approved these changes Sep 15, 2021
@i1i1 i1i1 merged commit c5b1bc3 into hyperledger-iroha:iroha2-dev Sep 16, 2021
@KalitaAlexey KalitaAlexey deleted the migrate-to-thiserror branch October 4, 2021 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants