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 validation. | An object whose keys are the names of the fields that failed validation. Each key's value is either an VEListor a nested key with anVEListinside.VEListis defined as:{ errors?: string[] }.It follows the same structure as Zod's formatfunction. | 
| bindArgsValidationErrors? | Bind arguments inputs don't pass validation. | An array of objects that mirrors the bind schemas array passed to bindArgsSchemas. Each key's value is either anVEList, a nested key with anVEListinside, ornull.VEListis defined as:{ errors?: string[] }.It follows the same structure as Zod's formatfunction. | 
| serverError? | An error occurs during action's server code execution. | A generic type that by default is the string "Something went wrong while executing the operation." for every server error that occurs, but this is configurable when instantiating a new client. |