Message
Message to be shown to the user
| Field | Type | Required | Description |
|---|---|---|---|
type |
string |
yes | one of: error, warning, info |
message |
string |
yes | |
code |
string |
Message code, mapped within the extension. It can be used to react in a specific way or to allow for message translation. |
Example
Section titled “Example”{ "type": "error", "message": "Some error occurred", "code": "EUNKNOWN"}
