ErrorMessageGeneratorGenerateErrorMessage Method
Generates error message with clear structure
Namespace: FileHold.CommonAssembly: FileHold.Common (in FileHold.Common.dll) Version: 17.2.0.0
public static string GenerateErrorMessage(
Exception ex,
bool withDecorations,
bool forEnterpriseLib,
string message = null
)
- ex Exception
- withDecorations Boolean
- true if the split line is needed; otherwise false
- forEnterpriseLib Boolean
- true if the message will be logged via EnterpriseLibrary
- message String (Optional)
- optional message
String