-
code
int code
Contains the HTTP response status code as an integer.
-
status
String status
Contains the text: "success", "fail", or "error". Where "fail" is for HTTP status response values from 500-599, "error" is for
statuses 400-499, and "success" is for everything else (e.g. 1XX, 2XX and 3XX responses).
-
message
String message
Only used for "fail" and "error" statuses to contain the error message.
For internationalization (i18n) purpose, this could contain a message number or code, either alone or contained within delimiters.
-
data
Object data
Contains the response body. In the case of "error" or "fail" statuses, this contains the cause, or exception name.