We are trying to abort scenario if there is a failure with specific error response caused by another team's code.
Case example for this is that we want to abort the test if we received error
errors: [message: 'Data is not deployed....Etc etc']
We know that we can use karate.abort(), however on the documentation we only see example based on status code:
* if (responseStatus == 404) karate.abort()
I wonder if it is possible for us to do something like
* if (response.errors[0].message contains 'Data is not deployed') karate.abort()
Thanks