fn parse_error(key: &str, ty: &DynSolType) -> Error
Returns the error for a value of key that does not parse as ty.
key
ty
The parser’s own message is dropped because it quotes the value, which may be a secret.