MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / error

Method error

crates/openshell-providers/src/profiles.rs:63–76  ·  view source on GitHub ↗
(
        source: impl Into<String>,
        profile_id: impl Into<String>,
        field: impl Into<String>,
        message: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

61
62impl ProfileValidationDiagnostic {
63 fn error(
64 source: impl Into<String>,
65 profile_id: impl Into<String>,
66 field: impl Into<String>,
67 message: impl Into<String>,
68 ) -> Self {
69 Self {
70 source: source.into(),
71 profile_id: profile_id.into(),
72 field: field.into(),
73 message: message.into(),
74 severity: "error".to_string(),
75 }
76 }
77}
78
79#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)]

Callers 4

mainFunction · 0.80
lint-mermaid.mjsFile · 0.80
token-issuer.jsFile · 0.80
parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected