Skip to content

chore: add stable error link for direct function invocation (backport #21237)#21580

Merged
benesjan merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21237-stable-error-link
Mar 16, 2026
Merged

chore: add stable error link for direct function invocation (backport #21237)#21580
benesjan merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21237-stable-error-link

Conversation

@AztecBot
Copy link
Collaborator

Backport of #21237 to v4-next.

Adds https://docs.aztec.network/errors/6 to 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 on next it 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

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 16, 2026
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>
@AztecBot AztecBot force-pushed the claudebox/backport-21237-stable-error-link branch from 0a632bf to 3dc0b18 Compare March 16, 2026 10:18
@benesjan benesjan marked this pull request as ready for review March 16, 2026 10:19
@benesjan benesjan requested a review from nventuro as a code owner March 16, 2026 10:19
@benesjan benesjan merged commit a4fbbbe into backport-to-v4-next-staging Mar 16, 2026
13 checks passed
@benesjan benesjan deleted the claudebox/backport-21237-stable-error-link branch March 16, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants