XtError(3) XT COMPATIBILITY FUNCTIONS XtError(3)

# [NAME](#NAME)

XtError, XtSetErrorHandler, XtSetWarningHandler, XtWarning - low-level error handlers

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

\_X\_NORETURN void XtError(const char \**message*);

void XtSetErrorHandler(\_X\_NORETURN XtErrorHandler *handler*);

void XtSetWarningHandler(XtErrorHandler *handler*);

void XtWarning(const char \**message*);

# [ARGUMENTS](#ARGUMENTS)

[*message*](#message)

Specifies the nonfatal error message that is to be reported.

[*handler*](#handler)

Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.

[*message*](#message~2)

Specifies the message that is to be reported.

# [DESCRIPTION](#DESCRIPTION)

The **XtError** function has been superseded by **XtAppError**.

The **XtSetErrorHandler** function has been superseded by **XtAppSetErrorHandler**.

The **XtSetWarningHandler** function has been superseded by **XtAppSetWarningHandler**.

The **XtWarning** function has been superseded by **XtAppWarning**.

# [SEE ALSO](#SEE_ALSO)

[**XtAppError**(3)](/man/os/libxt/XtAppError.3)  
*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtError(3) from libxt 1.3.1-r11 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
