MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

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,