-
Notifications
You must be signed in to change notification settings - Fork 14
Response Object
HarpyWar edited this page Jan 16, 2019
·
1 revision
You can be sure result succeed when result = "success"
.
data
field contains useful data returned from a called method.
{
"data": { ... },
"result": "success"
}
If result = error
then something wrong. General error message is in errorMessage
and stack trace or other details are in errorDetails
.
{
"errorCode": "MISS_PARAM",
"errorMessage": "Type parameter is empty (allowed: charinfo, charsave, charitem)",
"errorDetails": "",
"result": "error"
}