Mozilla.com

  1. MDC
  2. Main Page
  3. NS_ERROR
Table of contents
  1. 1. Summary
  2. 2. Syntax

NS_ERROR

Table of contents
  1. 1. Summary
  2. 2. Syntax

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");

Page last modified 12:56, 3 Mar 2007 by RuiMaciel

Files (0)