---
name: "AuGetErrorText"
section: "3nas"
platform: "linux"
package: "libaudio-dev"
version: "1.9.4-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/AuGetErrorText"
---

# AuGetErrorText(3nas)

get a description of an error code

## Name

**AuGetErrorText** - get a description of an error code

## Synopsis

\#include \<audio/audiolib.h\>

void **AuGetErrorText**(*server*, *code*, *buffer\_return*, *length*)\
\
     **AuServer** \**server*;\
\
     int *code*;\
\
     char \**buffer\_return*; /\* **RETURN** \*/\
\
     int *length*;

## Arguments

- *server*

  Specifies the connection to the audio server.

- *code*

  Specifies the error code to obtain a description of.

- *buffer\_return*

  Returns the error description.

- *length*

  Specifies the length of the buffer.

## Description

**AuGetErrorText** copies a NUL-terminated string describing *code* into *buffer\_return*.

## See Also

**AuServerName**, **AuGetErrorDatabaseText**, **AuSetErrorHandler**, **AuSetIOErrorHandler**, **AuSynchronize**.

audiolib - **Network Audio System** C Language Interface
