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, cbiesinger, Editmonkey
 Last updated by: Sheppy,