errorThrown Property

Summary

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

Syntax
TypeScript
JavaScript
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 jqxhr object.

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

Requirements

Target Platforms

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

Leadtools.Document Assembly