Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_PDDOnError

Iso11783IL_PDDOnError (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void Iso11783IL_PDDOnError( long errorCode, dword param );

Description

This function can be implemented in the CAPL program. The function is called up by the interaction layer when an error occurs.

Parameters

  • errorCode: error code
  • param: additional parameter, dependent on the error code

Return Values

Example

void Iso11783IL_PDDOnError( LONG errorCode, LONG addParam )
{
  char buffer[256];
  Iso11783IL_GetLastErrorText ( elCount(buffer), buffer);
  write( "ERROR: %s", buffer );
}