MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / invalid

Function invalid

libatomic/src/review/graph.rs:22–26  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

20use super::incremental::{ChangeInspection, IncrementalReport};
21
22fn invalid(message: impl Into<String>) -> CliError {
23 CliError::InvalidArgument {
24 message: message.into(),
25 }
26}
27
28fn encode(value: &impl serde::Serialize) -> Value {
29 serde_json::to_value(value).expect("review graph types are serializable")

Callers 2

buildFunction · 0.70
validate_inputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected