FromException(Exception)
static
public static Response FromException(Exception exception) Creates a new response representing an exception.
Parameters
exceptionException- The exception.
Returns
A new response.
public static Response FromException(Exception exception)exceptionException