Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the fields of Error as public #369

Merged
merged 3 commits into from
Apr 15, 2024
Merged

Expose the fields of Error as public #369

merged 3 commits into from
Apr 15, 2024

Conversation

GodTamIt
Copy link
Contributor

@GodTamIt GodTamIt commented Feb 12, 2024

These fields can be useful when trying to inspect the error.

@Licenser
Copy link
Member

I totally see the use on that, instead of making the fields public would it work for you to add accessor functions? That way, keeping the fields private, allows to change them in the future as needed without forcing users to adopt their code as long as the functions can wrap the new data layout into the old functions.

@GodTamIt
Copy link
Contributor Author

GodTamIt commented Apr 6, 2024

@Licenser sorry, took a while for me to get back to this but this should be done now :)

Copy link
Member

@Licenser Licenser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This is a nice improvement :)

@Licenser Licenser enabled auto-merge (rebase) April 8, 2024 07:41
auto-merge was automatically disabled April 15, 2024 11:32

Head branch was pushed to by a user without write access

@Licenser Licenser merged commit 8646633 into simd-lite:main Apr 15, 2024
14 of 24 checks passed
@Licenser
Copy link
Member

thanks! released as 0.13.10

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