Hi everyone, Can someone please share the list of ...
# general
s
Hi everyone, Can someone please share the list of possible errors for Can-I-Deploy failures in pactflow. Thanks in advance
m
What do you mean, sorry?
Do you mean API errors? Or status codes? Something else?
s
hey, thanks for sharing, I needed more of a like the possible reasons for which the can-i-deploy can fail? For example contract mismatches, polling/retry issue etc.
m
what are you trying to achieve, though? The main errors will relate to missing verifications or mismatches
s
actually where I am working, we just wanted to separate the failures of can-i-deploy and handle common errors like contract mismatches and not so common like polling issues separately. Thats I thought maybe there is a list of possible errors present somewhere 😅 , but maybe I am not understanding this that well. That's okay, I will try from my side. 😃
m
May I ask, what would you do differently if you got an error due to a system error vs contract mismatch?
The CLI has retries built into it. So if the underlying APIs fail the retry mechanism will kick in (this behaviour is separate from the user-facing polling flags)