statusText Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(ServiceError.prototype, 'statusText', 
   get: function() 
) 
readonly statusText: string; 

Property Value

if no string was initially provided, then null, otherwise that same string. Possible values are timeout, error, abort, and parsererror.

Remarks

The StatusText is one of the provided parameters to the ParseError static method. The value of this string, according to the JQuery documentation, is one of:

  • null

  • timeout

  • error

  • abort

  • parsererror

This value is returned from internal JQuery code, but made be changed from one of the above values to another by the Document Library to better represent the error (for example, the value of StatusText may be changed from null to abort within ParseError when UploadFile is aborted).

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

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