# wasmArithmeticExceptions

> The trapping mode for WebAssembly code.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions { get; set; }
```

### Remarks

WebAssembly code might throw an exception if you're using arithmetic operations like division by zero or rounding a very large float to an integer. Unity recommends using Throw mode to help detect for potential issues sooner.
