ExceptionHelperCleanException Method

Given an original exception, cleans the exception to remove the stack trace if applicable.

Namespace: Dundas.BI.WebApi
Assembly: Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public static Exception? CleanException(
	Exception originalException
)

Parameters

originalException  Exception
The original exception to clean.

Return Value

Exception
The cleaned exception, or the original exception given, if any.
See Also