Closed shogo82148 closed 3 months ago
The recent changes enhance error handling capabilities in the application and optimize the build configuration. A new ErrorOptions
class was introduced to facilitate better error tracking by allowing nested errors through an optional cause
property. Additionally, the build script was updated to include a customDev
property for handling error options and disabled type checking, reflecting a shift toward a more streamlined development experience.
File | Change Summary |
---|---|
.../custom_error_options.ts |
Introduced ErrorOptions class with an optional cause property to improve error tracking and debugging. |
.../scripts/build_npm.ts |
Added customDev property to shims for ErrorOptions module; set typeCheck to false to disable type checking during the build process. |
In a world of code, where errors may roam,
A new class was born, to guide us back home.
With options for causes, our troubles unwind,
Now debugging is easier, oh how sweet and kind!
So hop with delight, in this land of array,
Error handling’s magic is here to stay! 🐰✨
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.06%. Comparing base (
865de7a
) to head (b21d228
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
ErrorOptions
class to enhance error handling with additional context.Chores