-
Notifications
You must be signed in to change notification settings - Fork 933
Convert errors in @solana/signers
to coded exceptions
#2224
Convert errors in @solana/signers
to coded exceptions
#2224
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @steveluscher and the rest of your teammates on |
packages/errors/src/context.ts
Outdated
}; | ||
[SOLANA_ERROR__SIGNER_EXPECTED_CONFORMING_SIGNER]: { | ||
address: string; | ||
interfaceName: string; |
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.
Not super sure that this was the right thing to do, but you tell me @lorisleiva.
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.
I think it'd be nicer to have one for each type. Because otherwise there is redundancy between the "expected conforming signer" error and "expected transaction signer" error.
24cb64d
to
b6c80ed
Compare
b6c80ed
to
f0ad0e1
Compare
34d5666
to
b59fecd
Compare
f0ad0e1
to
75de449
Compare
75de449
to
e14a7ef
Compare
e14a7ef
to
3b46917
Compare
Merge activity
|
🎉 This PR is included in version 1.90.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
Addresses #2118.