aztec-nr - std::panic

Function panic

pub fn panic<T, U>(message: T) -> U
where T: StringLike

Halt the program at runtime with the given error message.

The provided error message must be either a str or a fmtstr.