---
name: "XtError"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtError/3x"
---

# XtError(3x)

low-level error handlers

## NAME

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

## SYNTAX

void XtError(String *message*);

void XtSetErrorHandler(XtErrorHandler *handler*):

void XtSetWarningHandler(XtErrorHandler *handler*);

void XtWarning(String *message*);

## ARGUMENTS

- *message*

  Specifies the nonfatal error message that is to be reported. or the nonfatal error procedure, which usually returns

- *handler*

  Specifies the new fatal error procedure, which should not return,.

- *message*

  Specifies the message that is to be reported.

## DESCRIPTION

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

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

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

The *XtAppWarning* function has been superceded by *XtAppWarning*.

## SEE ALSO

*X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
