MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / from

Method from

nodedb/src/error_from.rs:17–21  ·  view source on GitHub ↗
(e: nodedb_query::expr_parse::ExprParseError)

Source from the content-addressed store, hash-verified

15
16impl From<nodedb_query::expr_parse::ExprParseError> for Error {
17 fn from(e: nodedb_query::expr_parse::ExprParseError) -> Self {
18 Self::BadRequest {
19 detail: e.to_string(),
20 }
21 }
22}
23
24impl From<crate::control::pubsub::TopicError> for Error {

Callers

nothing calls this directly

Calls 10

not_leaderFunction · 0.85
serializationFunction · 0.85
to_stringMethod · 0.80
collectMethod · 0.80
dispatchFunction · 0.50
internalFunction · 0.50
configFunction · 0.50
iterMethod · 0.45
as_u32Method · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected