# Enumeration: OnError

## Enumeration Members

### AS\_STRING

> **AS\_STRING**: `"AS_STRING"`

Return it as a string

***

### LOG\_AND\_FALSE

> **LOG\_AND\_FALSE**: `"LOG_AND_FALSE"`

Log the error and return false

***

### LOG\_AND\_STRING

> **LOG\_AND\_STRING**: `"LOG_AND_STRING"`

Log the error AND return the string

***

### NOTHING

> **NOTHING**: `"NOTHING"`

Do nothing.

***

### RETURN\_ERROR

> **RETURN\_ERROR**: `"RETURN_ERROR"`

Return the error object

***

### RETURN\_FALSE

> **RETURN\_FALSE**: `"RETURN_FALSE"`

Do not log anything, just return `false`

***

### THROW

> **THROW**: `"THROW"`

throw the error
