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”
readonlyoptionaldata:T
Result data if successful
error?
Section titled “error?”
readonlyoptionalerror:object
Error information if unsuccessful
readonlyoptionalcode:string
details?
Section titled “details?”
readonlyoptionaldetails:DefaultRecord
message
Section titled “message”
readonlymessage:string
events
Section titled “events”
readonlyevents:ReadEvent[]
Events that were generated as a result of this command
success
Section titled “success”
readonlysuccess:boolean
Whether the command was successful