dep

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package deps provides error constructors for dependency analysis.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CargoMetadataFailed

func CargoMetadataFailed(cause error) error

CargoMetadataFailed wraps a cargo metadata command failure.

Parameters:

  • cause: the underlying command error

Returns:

  • error: "cargo metadata failed: <cause>"

func CargoNotFound

func CargoNotFound() error

CargoNotFound returns an error when cargo is not in PATH.

Returns:

  • error: advises installing the Rust toolchain

func ParseCargoMetadata

func ParseCargoMetadata(cause error) error

ParseCargoMetadata wraps a cargo metadata parse failure.

Parameters:

  • cause: the underlying unmarshal error

Returns:

  • error: "parsing cargo metadata: <cause>"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL