Interface LaravelUi5\Sdk\Action\Contracts\ActionResponse

The sealed outcome of a business action — the common seam both the success and error responses share.

message() is the single primary headline — a server-resolved string the user definitely sees (a MessageToast on success, the Context dialog on failure). It rides the wire in the Laravel-shaped message slot, so a business 422 and a validation 422 carry their summary the same way. messages() is the rich, i18n-keyed vocabulary (field targets, severities, helpIds) — the detail, client-resolved. The two never overlap: the primary is not also an entry in messages().

data/sideEffects live only on the success type (a failure returns neither).

Methods