aztec-nr - std::meta

Function error

pub comptime fn error<let N: u32, T, let N2: u32, T2>(
    _msg: fmtstr<N, T>,
    _secondary: Option<fmtstr<N2, T2>>,
    _location: Location,
)

Issues an error diagnostic at the given location with the given primary message and an optional secondary message. Unlike a comptime panic, current execution will continue allowing possibly multiple errors to be issued.