Closed ghost closed 6 years ago
This breaks the error parsing in graphQL side, I'm not quite sure how that is working. @smartprix
Will need to modify formatError function in https://github.com/smartprix/gqutils/blob/master/src/errors.js to also display any extra fields passed in Error
On throwing an error through the Model.Error class, it just shows the error as an instance of UserError. It would be really helpful if the error instance had a property telling the model name from which the error was thrown.