ServiceError Object


Encapsulates error information from a failed call to the Documents Library Service.


JavaScript Syntax
function lt.Documents.ServiceError 
TypeScript Syntax
class lt.Documents.ServiceError() 


When a service call results in an error, the Promise object will trigger its fail handlers with the jQuery jqXHR (XML Http Response object) and two exception information strings. Within the jqXHR object is more detailed exception information for both the developer and user of the application. By using ParseError to create a new ServiceError object, those additional information objects are parsed from the jqXHR body and made available as properties.

Refer to Promises in the Documents Library Service for more information on jQuery jqXHR and service calls.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly