class RbSys::CargoMetadataError
Raised when Cargo metadata cannot be parsed.
def initialize(err, stderr, manifest_path)
def initialize(err, stderr, manifest_path) msg = <<~MSG.chomp.tr("\n", " ") Could not parse Cargo metadata. Please check that your Cargo.toml is valid. The error was: #{err} Looking for this Cargo.toml: #{manifest_path.inspect} Stderr ------ #{stderr} MSG super(msg) end