rigetti / qcs-sdk-rust

Rust SDK for Rigetti Quantum Cloud Services (QCS)
https://docs.rs/qcs
13 stars 5 forks source link

Better error reporting from API calls #21

Open dbanty opened 3 years ago

dbanty commented 3 years ago

Right now the Display and Debug implementations in the internal generated API client cut out all the useful information that comes back from the server about the error. We should either contribute back a more useful implementation or replace the generator (which may be necessary for #16).

dbanty commented 2 years ago

Started to address this in #54, had to leave behind pieces of the generated code to do it. If we do contribute to generator improvements, we should take a look at that workaround as well.