MCPcopy Create free account
hub / github.com/ElementsProject/lightning / invalid_argument

Function invalid_argument

cln-grpc/src/convert.rs:7462–7464  ·  view source on GitHub ↗
(field: &str, err: impl std::fmt::Display)

Source from the content-addressed store, hash-verified

7460
7461
7462fn invalid_argument(field: &str, err: impl std::fmt::Display) -> tonic::Status {
7463 tonic::Status::invalid_argument(format!("Invalid value for field `{}`: {}", field, err))
7464}
7465
7466fn missing_field(field: &str) -> tonic::Status {
7467 tonic::Status::invalid_argument(format!("Missing required field `{}`", field))

Callers 3

missing_fieldFunction · 0.85
try_fromMethod · 0.85
try_fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected