Skip to main content

invalid_arg_type

Function invalid_arg_type 

Source
pub fn invalid_arg_type(
    name: &str,
    kind: &str,
    expected: &str,
    v: &Value,
) -> String
Expand description

TypeError [ERR_INVALID_ARG_TYPE]: The "<name>" <kind> must be of type <expected>. Received … — Node’s single most common argument rejection.