Skip to content

[JS/TS] Replace Error with Exception#4197

Merged
MangelMaxime merged 2 commits into
fable-compiler:mainfrom
ncave:error
Aug 11, 2025
Merged

[JS/TS] Replace Error with Exception#4197
MangelMaxime merged 2 commits into
fable-compiler:mainfrom
ncave:error

Conversation

@ncave

@ncave ncave commented Aug 1, 2025

Copy link
Copy Markdown
Collaborator
  • [JS/TS] Replace the remaining native JS Error type usage with Exception class for consistency.
    This fixes some TS exception type mismatch issues, since most exceptions were already derived from Exception.

@ncave ncave force-pushed the error branch 2 times, most recently from 445f482 to e06954c Compare August 1, 2025 18:31
@ncave ncave requested a review from MangelMaxime August 1, 2025 18:48
@ncave

ncave commented Aug 11, 2025

Copy link
Copy Markdown
Collaborator Author

@MangelMaxime This is ready for merging, I tagged you in case you want to review and chime in, but do let me know if you don't have time at the moment, and I can merge it.

@MangelMaxime

Copy link
Copy Markdown
Member

@ncave This looks fine to me.

I was not active the last 2 weeks because I was on vacation :) 2 weeks with no computer feels good sometimes 😇

@MangelMaxime MangelMaxime merged commit 201ad34 into fable-compiler:main Aug 11, 2025
20 checks passed
@ncave ncave deleted the error branch August 11, 2025 13:55
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