CommandResult
API reference for CommandResult
Type Alias: CommandResult<T>
Section titled “Type Alias: CommandResult<T>”CommandResult<
T
> =object
Result of command processing
Type Parameters
Section titled “Type Parameters”T
= unknown
Properties
Section titled “Properties”
readonly
optional
data:T
Result data if successful
error?
Section titled “error?”
readonly
optional
error:object
Error information if unsuccessful
readonly
optional
code:string
details?
Section titled “details?”
readonly
optional
details:DefaultRecord
message
Section titled “message”
readonly
message:string
events
Section titled “events”
readonly
events:ReadEvent
[]
Events that were generated as a result of this command
success
Section titled “success”
readonly
success:boolean
Whether the command was successful