# ExplicitlyThrownExceptionsOnly

> Enable throw support.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
ExplicitlyThrownExceptionsOnly = 1
```

### Remarks

With this option, exceptions can be thrown and caught in WebGL. But only exceptions explictly thrown will work. NullReferenceExceptions can still cause your content to fail. This has a significant cost in performance and build size over [WebGLExceptionSupport.None](/engine/6000.0/script-reference/unityeditor/webglexceptionsupport/none.md), so only use it when you need it.
