我运行了一个突变并得到了顶级错误,例如:
{
"errors": [
{
"message": "Argument 'xxx' on InputObject 'XXX' is required. Expected type Xxx!",
"locations": [
{
}
],
"path": [
],
"extensions": {
}
}
]
}
我如何自定义(更改)错误消息?