Skip to content

Make the SwampyerError class extend the Error class#17

Merged
zaberSatnam merged 5 commits intomasterfrom
swampyer-error-extend-error
Sep 2, 2025
Merged

Make the SwampyerError class extend the Error class#17
zaberSatnam merged 5 commits intomasterfrom
swampyer-error-extend-error

Conversation

@zaberSatnam
Copy link
Contributor

  • This will allow users to generically handle the errors without having to care about whether it is specifically a SwampyerError. They can just check if an error is an instance of the Error class

- This will allow users to generically handle the errors without having to care about whether it is specifically a `SwampyerError`. They can just check if an error is an instance of the `Error` class
@zaberSatnam zaberSatnam merged commit c459ddc into master Sep 2, 2025
3 checks passed
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