errorThrown Property

Summary

The original errorThrown string provided in ParseError from the fail Promise callback.

Syntax

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

Property Value

if no string was initially provided, then null, otherwise that same string.

Remarks

This string value is one of the initially-provided parameters to the ParseError static method, and is kept as a property. The value of errorThrown is also available from jqXHR.statusText, which is not to be confused with the statusText string or the StatusText property, as those do not exist as properties within the jqxhr object.

See ServiceError or Promises in the Documents Library Service for more information.

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