> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionIso11783ILGetLastErrorText

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/ISO11783/ISOInteractionLayer/Functions/CAPLfunctionIso11783ILGetLastErrorText.md)

**CAPL Functions** » **ISO11783** » **ISO11783 Interaction Layer** » Iso11783IL\_GetLastErrorText

# Iso11783IL\_GetLastErrorText

[Valid for](../../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

* `long Iso11783IL_GetLastErrorText( dword bufferSize, char buffer[] ); // form 1: deprecated.`
* `long Iso11783IL_GetLastErrorText( char buffer[] ); // form 2`
* `long Iso11783IL_GetLastErrorText( dbNode node, dword bufferSize, char buffer[] ); // form 3: deprecated.`
* `long Iso11783IL_GetLastErrorText( dbNode node, char buffer[] ); // form 4`

## Description

Returns the result of the last called ISO11783 IL function as string.

## Parameters

* **bufferSize**: size of the return buffer
* **buffer**: return buffer
* **node**: Simulation node to apply the function.

## Return Values

* **0**: success
* **\< 0**: [error code](../../../CAPLfunctionsISOj1939ErrorCodes.md)

## Example

```plaintext theme={null}
on key 't' 
{
  char error[64];
  BYTE date = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
  ISO11783ILSetSignalRaw( EEC1::EngSpeed, 6, data );

  Iso11783IL_GetLastErrorText( error );
  write( "Errorcode: %s", error );
}
```
