CommandResult

sealed interface CommandResult

Result of executing a command.

This is intentionally lightweight and does not prescribe a UX. Platforms may map these results to their own messaging conventions.

Inheritors

Types

Link copied to clipboard

Indicates failure with a message suitable for end users.

Link copied to clipboard

Sender lacks required permission.

Link copied to clipboard
data object Success : CommandResult

Indicates success.

Link copied to clipboard

Provided arguments are invalid for the chosen command route.