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 of reply and reject outside of manual needs better error #2277

Open
bdemann opened this issue Nov 14, 2024 · 0 comments
Open

Use of reply and reject outside of manual needs better error #2277

bdemann opened this issue Nov 14, 2024 · 0 comments
Milestone

Comments

@bdemann
Copy link
Member

bdemann commented Nov 14, 2024

If we could make a nice polished error for when you use reply and reject outside of manual. Right now it gives an error like this

The replica returned a rejection error: reject code CanisterError, reject message Error from Canister bkyz2-fmaaa-aaaaa-qaaaq-cai: Canister violated contract: ic0.msg_reply_data_append: the call is already replied..
This is likely an error with the compiler/CDK toolchain being used to build the canister. Please report the error to IC devs on the forum: https://forum.dfinity.org and include which language/CDK was used to create the canister., error code None

And we don't feel like that error really explains what is going on unless you are very aware of how replying and rejecting works. It's not great for newcomers

@bdemann bdemann added this to the 1.0 milestone Nov 14, 2024
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