Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NS_ERROR

Summary

Macro

Throws a assertion (NS_ASSERTION) with the text "Error: (error text)", so writes this text to console (stderr) and to debug logs (NSPR logging). This macro is meant for critical errors; like assertions, NS_ERRORs should not be reachable.

Syntax

NS_ERROR("error text");

See also

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, RuiMaciel, Biesi, Editmonkey
 Last updated by: Sheppy,