# Function Reference

# _WinAPI_ShowError

Displays an error message box with an optional exit

#include <WinAPIError.au3>
_WinAPI_ShowError ( $sText [, $bExit = True] )

## Parameters

$sText | Error text to display
$bExit | [optional] Specifies whether to exit after the display: True - Exit program after display False - Return normally after display

## Return Value

None.

## Related

_WinAPI_MsgBox, _WinAPI_ShowMsg