Skip to content

Improve missing footprint function errors#635

Open
CodeForFee wants to merge 1 commit into
tscircuit:mainfrom
CodeForFee:fix-footprinter-error-message-46
Open

Improve missing footprint function errors#635
CodeForFee wants to merge 1 commit into
tscircuit:mainfrom
CodeForFee:fix-footprinter-error-message-46

Conversation

@CodeForFee
Copy link
Copy Markdown

Summary

  • replace the generic invalid footprint-function error with an explicit “Function not found for footprinter …” message
  • include the missing function name and original footprint string when available
  • add regression coverage for invalid string footprints and builder calls with no selected function

Closes #46

Verification

  • bun test tests/fp-string-error.test.ts tests/vssop.test.ts
  • bun test
  • bun run build
  • git diff --check

AI-assisted with Codex; I reviewed the diff and local verification before submission.

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.

Create better footprint errors

1 participant