Return value of readRawMulti()

interface ReadRawMultiResult {
    command: ReadRawMultiCommand;
    error: boolean;
    errorCode: number;
    errorStr?: string;
    success: boolean;
    value?: Buffer;
}

Hierarchy (view full)

Properties

Command

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 reading was successful

value?: Buffer

Value (if any)