Skip to content

chore: add stable error link for direct function invocation#21237

Open
benesjan wants to merge 1 commit intomerge-train/fairiesfrom
benesjan/error-link-direct-fn-invocation
Open

chore: add stable error link for direct function invocation#21237
benesjan wants to merge 1 commit intomerge-train/fairiesfrom
benesjan/error-link-direct-fn-invocation

Conversation

@benesjan
Copy link
Contributor

@benesjan benesjan commented Mar 8, 2026

This was an old TODO of mine I had opened at a time when we didn't have the stable error links set up so made sense to tackle it now that we have them.

AI Summary

  • 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)
  • The /errors/6 redirect points to the existing calling_contracts docs page which documents self.call(), self.view(), and self.enqueue()
  • Adds the error to the debugging troubleshooting table in debugging.md

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>
@benesjan benesjan requested a review from nventuro as a code owner March 8, 2026 08:16
@benesjan benesjan requested review from mverzilli and nchamo March 8, 2026 09:50
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

Successfully merging this pull request may close these issues.

1 participant