Error is Rest Response.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void | Error(String key, String message ) |
| void | setKey(String key ) |
| void | getKey() |
| void | setMessage(String message ) |
| void | getMessage() |
Method Detail
This class supports the following methods:
global Error(String key, String message )
Parameters
| Name | Type | Description |
|---|---|---|
| key | String | undefined |
| message | String | undefined |
global void setKey(String key )
Parameters
| Name | Type | Description |
|---|---|---|
| key | String | undefined |
global String getKey()
global void setMessage(String message )
Parameters
| Name | Type | Description |
|---|---|---|
| message | String | undefined |
global String getMessage()