Skip to content

add thiserror, split error::Error into different modules#324

Open
gerau wants to merge 8 commits into
BlockstreamResearch:masterfrom
gerau:simc/refactor-errors-split
Open

add thiserror, split error::Error into different modules#324
gerau wants to merge 8 commits into
BlockstreamResearch:masterfrom
gerau:simc/refactor-errors-split

Conversation

@gerau
Copy link
Copy Markdown
Contributor

@gerau gerau commented May 14, 2026

Implementing the first step of the error refactor issue: #204 (comment).

I tried to keep the changes minimal, so I did not refactor RichError completely. Also, keep in mind that we will most likely remove error::Error and replace RichError with something more like a Diagnostic.

gerau added 4 commits May 14, 2026 11:53
We moved SyntaxError as a separate struct so we can make custom Display
implementation
also add inside test reexport for parse::Error so there wouldn't be
conflicts after deleteting Error variants
This also made change inside some modules to use ast::Error instead of
error::Error.
@gerau gerau requested a review from delta1 as a code owner May 14, 2026 11:48
@gerau gerau force-pushed the simc/refactor-errors-split branch from ddf1800 to d1bb37b Compare May 14, 2026 11:59
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