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

Make error types more consistent #441

Open
MarquessV opened this issue Feb 14, 2024 · 0 comments
Open

Make error types more consistent #441

MarquessV opened this issue Feb 14, 2024 · 0 comments
Milestone

Comments

@MarquessV
Copy link
Contributor

The way we define errors vary throughout the SDK. We sometimes define error types for specific calls, other times at the module level, and other times by pulling them in from elsewhere. While each approach can have its place, it doesn't appear to have been done with a lot of intent, and sometimes the Python module has differing error shapes from it's Rust counterpart. Many of our errors repeat themselves via thiserror (e.g. ExecutionError and executable::Error). We should have an agreed upon way we define errors that is consistent and intuitive across the SDK.

@MarquessV MarquessV added this to the QCS SDK 1.0 milestone Feb 14, 2024
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

No branches or pull requests

1 participant