chore: add stable error link for direct function invocation (backport #21237)#21580
Merged
benesjan merged 1 commit intobackport-to-v4-next-stagingfrom Mar 16, 2026
Conversation
Adds https://docs.aztec.network/errors/6 to the compile-time error shown when developers try to directly call contract functions. The link redirects to the calling_contracts documentation page. Also adds the error to the debugging troubleshooting table. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0a632bf to
3dc0b18
Compare
benesjan
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #21237 to v4-next.
Adds
https://docs.aztec.network/errors/6to the compile-time error message shown when developers directly call contract functions (private, public, utility, or internal). Also adds the error to the debugging troubleshooting table.Conflict Resolution
The automatic cherry-pick failed due to a conflict in
docs/netlify.toml. On v4-next, the error codes section only had a commented-out example, while onnextit had errors 1-5 already defined. The resolution keeps all error redirects (1-6) from the cherry-pick since they are all needed on v4-next.BEGIN_COMMIT_OVERRIDE
chore: add stable error link for direct function invocation (backport #21237)
END_COMMIT_OVERRIDE
ClaudeBox log: https://claudebox.work/s/4e315b13e1ceabe4?run=1