Skip to content

Response.FromException(Exception)

FromException(Exception)

static
View source
public static Response FromException(Exception exception)
Creates a new response representing an exception.

Parameters

exceptionException
The exception.

Returns

A new response.