Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_OnError

TCIL_OnError (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void TCIL_OnError( long errorCode, long param );

Description

This callback function is called from the TC IL if an error occurred.

Parameters

  • errorCode: IL Error Code
  • param: Additional parameter depending on the error code

Return Values

Example

void TCIL_OnError( long errorCode, long param )
{
  write( "Error %d, parameter %d", errorCode, param );
}