Applies toTIB_SessionProps
DeclarationProperty OnError;
DescriptionGlobal hook for the session to gain control over the error handling for all calls made to the API.