Contains extension methods for Exception.
Methods
public static IRenderable GetRenderable(Exception exception, ExceptionFormats format = 0)
Gets a IRenderable representation of the exception.
Parameters:
exception (Exception)The exception to format.
format (ExceptionFormats)The exception format options.
Returns:
A IRenderable representing the exception.
public static IRenderable GetRenderable(Exception exception, ExceptionSettings settings)
Gets a IRenderable representation of the exception.
Parameters:
exception (Exception)The exception to format.
settings (ExceptionSettings)The exception settings.
Returns:
A IRenderable representing the exception.