carbGetErrorApi

Defined in carb/Error.h

carb::ErrorApi const *carbGetErrorApi(carb::Version *version)

Get the instance of the error-handling API.

Parameters

version – The requested version of the error-handling API to return; this value will be set to the maximum supported version.

Returns

On success, this returns a pointer to the error API which is compatible with the provided version.