new HttpError()
Represents AJAX error.
See Jquery/Zepto documentation for details.
Members
-
code :string
-
Error code.
Additional failure information. See SugarCRM REST API documentation for a full list of error codes.
Type:
- string
-
errorThrown :string
-
Textual portion of the HTTP status when HTTP error occurs.
For example,
"Not Found"
or"Internal Server Error"
.Type:
- string
-
message :string
-
Error message.
Localized message appropriate for display to end user.
Type:
- string
-
request :HttpError
-
AJAX request that caused the error.
Type:
-
responseText :string
-
XHR response text.
Type:
- string
-
status :string
-
XHR status code.
Type:
- string
-
textStatus :string
-
String describing the type of error that occurred.
Possible values (besides null) are
"timeout"
,"error"
,"abort"
, and"parsererror"
.Type:
- string
Methods
-
toString()
-
Returns string representation of HTTP error.
Returns:
HTTP error as a string.
- Type
- string