Skip to content

error types should have a Error suffix#13627

Open
ShahakShama wants to merge 1 commit intoshahak/style-guide-expect-vs-allowfrom
shahak/style-guide-error-suffix
Open

error types should have a Error suffix#13627
ShahakShama wants to merge 1 commit intoshahak/style-guide-expect-vs-allowfrom
shahak/style-guide-error-suffix

Conversation

@ShahakShama
Copy link
Copy Markdown
Collaborator

@ShahakShama ShahakShama commented Mar 31, 2026

Note

Low Risk
Documentation-only change that affects naming conventions but does not modify runtime code.

Overview
Updates style.md error-handling guidelines by adding a naming convention: error structs/enums should use an *Error suffix (e.g. StorageError, ParseTransactionError).

Also adds minor spacing/formatting around the “Error Handling & Safety” section.

Written by Cursor Bugbot for commit eeee8ee. This will update automatically on new commits. Configure here.

@ShahakShama ShahakShama requested a review from Stavbe March 31, 2026 14:31
@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Collaborator Author

ShahakShama commented Mar 31, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

2 participants