isBrowserError Property

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(ServiceError.prototype, 'isBrowserError', 
	get: function() 
) 
TypeScript Syntax
isBrowserError: boolean; // read-only 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly