statusText Property

Summary

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

Syntax

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

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 Documents 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 Documents Library Service for more information.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly