# IFatalErrorHandler.IsUnexpected(Exception)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.ifatalerrorhandler/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.ifatalerrorhandler/methods/)

```csharp
public abstract bool IsUnexpected(Exception exception)
```

Determines whether the specified exception is unexpected.

### Parameters

- `exception` (`Exception`): The exception.

### Returns

`true` if the specified exception is unexpected; otherwise, `false`.
