---
title: "warning — Throw warning (ZeyOS)"
description: "iXML command warning: Throw warning (ZeyOS)."
canonical_url: "https://www.zeyos.com/ixml/ref/warning"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/warning.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# warning — Throw warning (ZeyOS)

WARNING breaks out of the current control flow by throwing a warning with a warning message.

A warning can be thrown and caught. Code may be surrounded by a TRY statement, to facilitate the catching of potential warnings.

### Attributes
- (none)

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- (none documented)

### Examples

```xml
<warning>This is a warning!</warning>
```
