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

# SyscError Struct Reference

Part of [C Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/group__SyscParticipantLibraryCAPI)

Provide a struct for detecting errors from the interface calls.

`#include <syscCommonTypes.h>`

## Data Fields

| Type | Name |
| - | - |
| int | [retcode](#afbc03fa7fe0724b2810626b319364f27) |
| char | [message](#a166e507f0606a321e1e076f7889d5844) \[[SYSC\_STRING\_LENGTH](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/group__SyscParticipantLibraryCAPI#gab4cd55b5b37dd76c5755020302086b15)] |

## Detailed Description

Provide a struct for detecting errors from the interface calls.

Definition at line [137](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source) of file [syscCommonTypes.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source).

## Field Documentation

### message

```c theme={null}
char SyscError::message[ SYSC_STRING_LENGTH ]
```

Error message. Blank string if no error.

Definition at line [139](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source) of file [syscCommonTypes.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source).

### retcode

```c theme={null}
int SyscError::retcode
```

Error code. Set to 0 if no error.

Definition at line [138](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source) of file [syscCommonTypes.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscCommonTypes_8h_source).
