errorThrown Property (original) (raw)

Summary

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

Syntax

Object.defineProperty(ServiceError.prototype, 'errorThrown', get: function() )

readonly errorThrown: string; 

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 jqxhrobject.

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

Leadtools.Document Assembly