# DurableOperation.Error

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durableoperation/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durableoperation/properties/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableOperation.cs)

```csharp
public DurableOperationError? Error
```

The task's failure or cancellation, when it failed or was canceled.
