MCPcopy Create free account
hub / github.com/delinoio/oss / package_manager_invalid_input

Function package_manager_invalid_input

crates/nodeup/src/command_plan.rs:686–697  ·  view source on GitHub ↗
(
    cause: impl Into<String>,
    hint: impl Into<String>,
    diagnostics: ErrorDiagnostics,
)

Source from the content-addressed store, hash-verified

684}
685
686fn package_manager_invalid_input(
687 cause: impl Into<String>,
688 hint: impl Into<String>,
689 diagnostics: ErrorDiagnostics,
690) -> NodeupError {
691 NodeupError::with_hint_and_diagnostics(
692 crate::errors::ErrorKind::InvalidInput,
693 cause,
694 hint,
695 diagnostics,
696 )
697}
698
699struct PackageManagerDiagnosticsInput<'a> {
700 package_json_path: &'a Path,

Callers 2

parseMethod · 0.85
discover_package_managerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected