Action result object
Here's how action result object is structured (all keys are optional):
| Name | When | Value | 
|---|---|---|
| data? | Execution is successful. | What you returned in action's server code. | 
| validationErrors? | Input data doesn't pass schema validation. | A partial Recordof input schema keys as key or_root, andstring[]as value._rootis a reserved key, used for global validation issues. Example:{ _root: ["A global error"], email: ["Email is required."] }. | 
| serverError? | An error occurs during action's server code execution. | A stringthat by default is "Something went wrong while executing the operation" for every server error that occurs, but this is configurable when instantiating a new client. |