# VariableErrorHandling

Import: `import com.install4j.api.beans.VariableErrorHandling;`

```java
public final enum VariableErrorHandling
```

Used in [`VariableErrorHandlingDescriptor`](VariableErrorHandlingDescriptor.md) to configure the error handling for a single variable type.

## Constants

### IGNORE

Ignore an undefined variable and leave it in place

### ERROR_MESSAGE

Replace an undefined variable with an error message

### EXCEPTION

Throw an exception if an undefined variable is found

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `VariableErrorHandling[]` |  |
| [`valueOf(String)`](#valueof-string) | `VariableErrorHandling` |  |
| [`toString()`](#tostring) | `String` |  |

### values()

```java
public static VariableErrorHandling[] values()
```

### valueOf(String)

```java
public static VariableErrorHandling valueOf(String name)
```

### toString()

```java
public String toString()
```

