isBrowserError Property

Summary

Indicates if the ServiceError error objects represents a failure due to the browser.

Syntax
TypeScript
JavaScript
Object.defineProperty(ServiceError.prototype, 'isBrowserError', 
   get: function() 
) 
readonly isBrowserError: boolean; 

Property Value

true if the error was caused by the browser; otherwise, false.

Remarks

The value of IsBrowserError almost always indicates that the error originated from the client JavaScript code before reaching the server due to browser incompatibility issues. For example, this property will be true when either UploadFile/uploadfiledocument is called and the browser does not support JavaScript FileReader API.

Requirements

Target Platforms

Help Version 22.0.2023.2.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.