SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

Change toThrowGqlError message failure to support asymmetric matchers #3196

Closed CarsonF closed 2 months ago

CarsonF commented 2 months ago

Missed in #3183

This previous code avoided quoting the message string. I was trying to reduce syntax to sort through in error message.

Compromising to include quotes here to be consistent & support the matchers.

Message:
  StringMatching: /not found/
  "Server Error"
Message:
  "Not Found"
  "Server Error"