qiskit-ibm-runtime
qiskit-ibm-runtime copied to clipboard
Use status code instead of `Ran too long`
In a couple of places in RuntimeJob
we are checking for the error reason RAN TOO LONG
(example) - this is being changed on the server side so instead we should check for the error code, 1305.
Wait until ntc issue 2790 is complete
Unblocked by ntc/3494
Unblocked by ntc/3494
I think we'll have to look into this again on the server side I'm not getting any error reason code when the error is RAN TOO LONG
'state': {'status': 'Cancelled', 'reason': 'Ran too long', 'reasonCode': None}, 'status': 'Cancelled - Ran too long'