There are a few main changes here, which all of which are API breaking:
The QcsClient error variant on qpu::execution::Error was only used for translation errors, so it was renamed to better communicate that.
The Translation variant on executable::Error was unused, so I changed the inner type to GrpcClientError from String and changed conversion so the above error variant becomes this one.
I did a brief audit of the other variants on executable::Error using my editor's Find All References feature and deleted anything that had no references.
For variants decorated with #[from], I removed that decorator to see if anything broke due to implicit conversions no longer working. Only the variants where this did not introduce errors were deleted.
I'm open to restoring the unused variants and making them used, as appropriate. I figured that it would be good to clean things up while already making breaking changes.
Resolves #427. See https://github.com/rigetti/qcs-sdk-rust/issues/427#issuecomment-1912571823 for why I did this instead of implementing retry logic.
There are a few main changes here, which all of which are API breaking:
QcsClient
error variant onqpu::execution::Error
was only used for translation errors, so it was renamed to better communicate that.Translation
variant onexecutable::Error
was unused, so I changed the inner type toGrpcClientError
fromString
and changed conversion so the above error variant becomes this one.executable::Error
using my editor'sFind All References
feature and deleted anything that had no references.#[from]
, I removed that decorator to see if anything broke due to implicit conversions no longer working. Only the variants where this did not introduce errors were deleted.I'm open to restoring the unused variants and making them used, as appropriate. I figured that it would be good to clean things up while already making breaking changes.