MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

resetError

resetError

Resets a saved error code to zero.

Method of

Install object

Syntax

void resetError ();

Parameters

None.

Returns

Nothing.

Description

The resetError method resets any saved error code to zero. See getLastError for additional information.

Example

To reset the last error code to zero:

resetError();

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,