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

Improve error handling in Go bindings #173

Merged
merged 7 commits into from
Oct 24, 2024
Merged

Improve error handling in Go bindings #173

merged 7 commits into from
Oct 24, 2024

Conversation

lrettig
Copy link
Contributor

@lrettig lrettig commented Oct 22, 2024

Bring in the rest of the ATHCON errors. Allow athena errors in Go to wrap underlying Go errors.

These are quality of life improvements that make the go-sm integration work easier.

@lrettig lrettig requested a review from poszu as a code owner October 22, 2024 21:49
ffi/athcon/bindings/go/athcon.go Outdated Show resolved Hide resolved
ffi/athcon/bindings/go/athcon.go Outdated Show resolved Hide resolved
Don't print error locally; return a more useful error
Don't expose unused error codes
@lrettig lrettig merged commit ccb182e into main Oct 24, 2024
8 checks passed
@lrettig lrettig deleted the go-error-handling branch October 24, 2024 22:27
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