EAPUtilFormatException Method (Exception, 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
)
Public Shared Function FormatException (
ex As Exception,
nonDebugVerbose As Boolean,
debugVerbose As Boolean,
isDeveloper 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.
Return Value
Type:
StringA user formatted error message
See Also