Function phoenix::program::error::assert_with_msg
source · pub fn assert_with_msg(
v: bool,
err: impl Into<ProgramError>,
msg: &str
) -> ProgramResultpub fn assert_with_msg(
v: bool,
err: impl Into<ProgramError>,
msg: &str
) -> ProgramResult