Starlord
Starlord4w ago

Using ConvexError on the client

i see there is error data in reponse. but how do i use it in mutation on client
{
"type": "MutationResponse",
"requestId": 0,
"success": false,
"result": "[Request ID: 8d08dca5f98422c4] Server Error",
"ts": null,
"logLines": [],
"errorData": "#E#Invalid promocode#E#"
}
{
"type": "MutationResponse",
"requestId": 0,
"success": false,
"result": "[Request ID: 8d08dca5f98422c4] Server Error",
"ts": null,
"logLines": [],
"errorData": "#E#Invalid promocode#E#"
}
2 Replies

Did you find this page helpful?