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 UploadFile is called and the browser does not support JavaScript FileReader API.

Requirements

Target Platforms

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

Leadtools.Document Assembly