Skip to content

DurableHttpOptions.DefaultCreateError(Exception)

DefaultCreateError(Exception)

static
View source
public static DurableOperationError DefaultCreateError(Exception exception)
Describes an exception by the task's outcome alone, without its type or message.

Parameters

exceptionException
The exception which failed or canceled the task.

Returns

An error whose code is Canceled or Failed.