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

# AuGetErrorDatabaseText(3nas)

get an error message from the error database

## Name

**AuGetErrorDatabaseText** - get an error message from the error database

## Synopsis

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

void **AuGetErrorDatabaseText**(*server*, *name*, *message*, *default\_string*, *buffer\_return*, *length*)\
\
     **AuServer** \**server*;\
\
     char \**name*;\
\
     char \**message*;\
\
     char \**default\_string*;\
\
     char \**buffer\_return*; /\* **RETURN** \*/\
\
     int *length*;

## Arguments

- *server*

  Specifies the connection to the audio server.

- *name*

  Specifies the name of the application.

- *message*

  Specifies the type of the error message.

- *default\_string*

  Specifies the default error message if none is found in the database.

- *buffer\_return*

  Returns the error description.

- *length*

  Specifies the size of the buffer.

## Description

The **AuGetErrorDatabaseText** function copies the *default\_string* and returns it in *buffer\_return*. The *name* and *message* arguments are ignored.

## See Also

**AuServerName**, **AuGetErrorText**, **AuSetErrorHandler**, **AuSetIOErrorHandler**, **AuSynchronize**.

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