Skip to content

Add error codes to campaign errors

Warren Gifford requested to merge es/error-codes into main

Created by: eseliger

Some of our resolvers return errors very purposefully, and we did document that some error will be returned, but not which or how to identify this specific error.

I tried making more clear what the error actually looks like and that people using the API can assert on them by adding an error code to them, through an Extensions field that graphql-go provides us with.

Merge request reports

Loading