//! Current run-time error state shared by the `Error`/`Error$` functions.
//!
//! VB6's `Error` function without an argument returns the message for the most
//! recent run-time error (the current value of `Err.Number`). The runtime
//! tracks that number here; it starts at 0 (no error), which is what makes the
//! omitted-argument form return a zero-length string until an error occurs.
use ;
/// The current `Err.Number`; 0 means no error is current.
static CURRENT_NUMBER: AtomicI32 = new;
/// The number of the most recent run-time error (0 when none).
/// Record a run-time error by number, as `Err.Raise` does.
/// Clear the current error, as `Err.Clear` does.