Skip to content

Remove @custom:error NatSpec tags from src (rejected convention that pre-dates the #134 ruling) #197

Description

@thedavidmeister

The @custom:error tag convention was rejected in the PR #134 review: it has no precedent in the org, and error conditions are documented at their declarations (src/err/*) plus @dev prose on the functions that raise them. Two blocks landed on main before that ruling and were never swept:

The presence of these blocks is how the convention re-seeds itself — #194's author pattern-matched off the existing block. Task: convert any remaining @custom:error content into @dev prose (keeping only information not already at the error declarations) and remove the tags. Category-wide: the fix covers every @custom:error occurrence in src/, not just the sites listed. A follow-up lint banning the tag org-wide would live in rainix's static checks, not here.

🤖 Generated with Claude Code

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions