GetError()

Updated: April 19, 2023

Synopsis:

#include <aoi.h>

int64_t (*GetError)(void *ctx,
                    AOError_t *err);

Arguments:

ctx
The context for the stream for which you want to read error information.
err
A pointer to space for storing an AOError_t structure that will be filled in with details about the last streamer error.

Description:

This function should retrieve the last streamer error that occurred with a seek, read, write, or sniff operation.

Returns:

0 on success, -1 if the error information couldn't be retrieved.