EAPUtilFormatException Method (Exception, Boolean, Boolean, Boolean, Boolean) |
Returns a formatted string from an exception.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string FormatException(
Exception ex,
bool nonDebugVerbose,
bool debugVerbose,
bool isDeveloper,
bool ignoreSuppression
)
Public Shared Function FormatException (
ex As Exception,
nonDebugVerbose As Boolean,
debugVerbose As Boolean,
isDeveloper As Boolean,
ignoreSuppression As Boolean
) As String
Parameters
- ex
- Type: SystemException
The exception - nonDebugVerbose
- Type: SystemBoolean
Set to true to include verbose exception information in a non-DEBUG build. - debugVerbose
- Type: SystemBoolean
Set to true to include verbose exception information in a DEBUG build. - isDeveloper
- Type: SystemBoolean
Specifies whether or not the current user is a developer. - ignoreSuppression
- Type: SystemBoolean
Ignores any sensitive information suppression. Appropriate ONLY for server-side logging (e.g. xot_request_log).
Return Value
Type:
StringA user formatted error message
See Also