# DurableJobRunResult.Exception

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/DurableJobRunResult.cs#L59)

```csharp
[Orleans.Id(2)]
public Exception? Exception
```

Gets the exception associated with a failed job execution when [DurableJobRunResult](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunresult/) is [DurableJobRunStatus](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunstatus/).
