-
Notifications
You must be signed in to change notification settings - Fork 236
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
Create ckb-error and use it as the global system error type #1386
Conversation
@quake is assigned as the chief reviewer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hold as requested by @keroro520.
8a5b85b
to
cc6203b
Compare
8868233
to
c7f2fcc
Compare
9df98c8
to
029e902
Compare
I oppose all TooMuch TooMany-series rename |
I would suggest changing the error names and descriptions back to the original. And then open another issue to discuss it. What are your opinions? |
dfd8ad2
to
e8885a1
Compare
bors r=quake,u2,zhangsoledad |
1386: Create ckb-error and use it as the global system error type r=quake,u2,zhangsoledad a=keroro520 * Create ckb-error and use it as the global system error type * This PR is an update of #1344 based on #1344 (comment) * There are several error kinds, and the corresponding error types: * OutPoint: `util/types/src/core/error.rs` * Transaction: `verification/src/error.rs` * Script: `script/src/error.rs` * Header: `verification/src/error.rs` * Block: `verification/src/error.rs` * Internal: `error/src/internal.rs` * Dao: `util/dao/utils/src/error.rs` * Spec: `spec/src/error.rs` This PR does not cover the error types in ckb-miner, ckb-rpc and ckb-sync. Perhaps do it later. ---- NOTE: - I will remove the `NOTE: the original name is *` lines later. These lines are used to help review. Co-authored-by: keroro520 <[email protected]>
e8885a1
to
57aa831
Compare
Canceled |
bors r=quake,u2,zhangsoledad |
1386: Create ckb-error and use it as the global system error type r=quake,u2,zhangsoledad a=keroro520 * Create ckb-error and use it as the global system error type * This PR is an update of #1344 based on #1344 (comment) * There are several error kinds, and the corresponding error types: * OutPoint: `util/types/src/core/error.rs` * Transaction: `verification/src/error.rs` * Script: `script/src/error.rs` * Header: `verification/src/error.rs` * Block: `verification/src/error.rs` * Internal: `error/src/internal.rs` * Dao: `util/dao/utils/src/error.rs` * Spec: `spec/src/error.rs` This PR does not cover the error types in ckb-miner, ckb-rpc and ckb-sync. Perhaps do it later. ---- NOTE: - I will remove the `NOTE: the original name is *` lines later. These lines are used to help review. Co-authored-by: keroro520 <[email protected]>
bors r=quake,u2,zhangsoledad |
1386: Create ckb-error and use it as the global system error type r=quake,u2,zhangsoledad a=keroro520 * Create ckb-error and use it as the global system error type * This PR is an update of #1344 based on #1344 (comment) * There are several error kinds, and the corresponding error types: * OutPoint: `util/types/src/core/error.rs` * Transaction: `verification/src/error.rs` * Script: `script/src/error.rs` * Header: `verification/src/error.rs` * Block: `verification/src/error.rs` * Internal: `error/src/internal.rs` * Dao: `util/dao/utils/src/error.rs` * Spec: `spec/src/error.rs` This PR does not cover the error types in ckb-miner, ckb-rpc and ckb-sync. Perhaps do it later. ---- NOTE: - I will remove the `NOTE: the original name is *` lines later. These lines are used to help review. Co-authored-by: keroro520 <[email protected]>
Build succeeded
|
Create ckb-error and use it as the global system error type
This PR is an update of [HOLD] feat: create ckb-error #1344 based on [HOLD] feat: create ckb-error #1344 (comment)
There are several error kinds, and the corresponding error types:
util/types/src/core/error.rs
verification/src/error.rs
script/src/error.rs
verification/src/error.rs
verification/src/error.rs
error/src/internal.rs
util/dao/utils/src/error.rs
spec/src/error.rs
This PR does not cover the error types in ckb-miner, ckb-rpc and ckb-sync. Perhaps do it later.
NOTE:
NOTE: the original name is *
lines later. These lines are used to help review.