logServiceError Method

Summary

Handles document service-specific error messages.

Syntax
TypeScript
JavaScript
logServiceError = function() 
logServiceError( 
   serviceError: ServiceError, 
   _defaultMessage?_: string 
): string; 

Parameters

serviceError

The ServiceError that occurred.

defaultMessage

The default error context provided from LEADVIEW.

Return Value

A string containing the message that should be displayed.

Remarks

The default ILogger for LEADVIEW, displays error messages with as much detail as is available (The controller/method where the exception occurred, the exception message + stack trace, etc.).

Example For an example, refer to RunSettings.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.