Skip to content

CommandResult

API reference for CommandResult

@delta-base/toolkit


CommandResult<T> = object

Result of command processing

T = unknown

readonly optional data: T

Result data if successful


readonly optional error: object

Error information if unsuccessful

readonly optional code: string

readonly optional details: DefaultRecord

readonly message: string


readonly events: ReadEvent[]

Events that were generated as a result of this command


readonly success: boolean

Whether the command was successful