Function error

Source
pub fn error(name: &str, description: &str, discriminant: u16) -> UserError
Expand description

Creates a new UserError.