Return value of readWriteRawMulti()

interface ReadWriteRawMultiResult {
    command: ReadWriteRawMultiCommand;
    data?: Buffer;
    error: boolean;
    errorCode: number;
    errorStr?: string;
    success: boolean;
}

Hierarchy (view full)

Properties

Command

data?: Buffer

Response data (if any)

error: boolean

True if response has error (ADS or our own customer error)

errorCode: number

ADS error code (0 = no error, -1 = other than ADS error)

errorStr?: string

ADS error string

success: boolean

True if command was successful