TIOVX User Guide

Detailed Description

Internal APIs for error operations.

Data Structures

struct  tivx_error_t
 The internal representation of the error object. More...
 

Functions

vx_bool ownCreateConstErrors (vx_context context)
 Creates all the status codes as error objects.
 
vx_reference ownGetErrorObject (vx_context context, vx_status status)
 Matches the status code against all known error objects in the context. More...
 

Function Documentation

◆ ownGetErrorObject()

vx_reference ownGetErrorObject ( vx_context  context,
vx_status  status 
)

Matches the status code against all known error objects in the context.

Parameters
[in]contextThe pointer to the overall context.
[in]statusThe status code to find.
Returns
Returns a matching error object.