MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / reject_cause

Function reject_cause

flow-plugins/src/utils/error.rs:34–39  ·  view source on GitHub ↗
(err: T)

Source from the content-addressed store, hash-verified

32}
33
34pub fn reject_cause<T>(err: T) -> Rejection
35where
36 T: 'static + Debug + Send + Sync,
37{
38 rweb::reject::custom(RejectCause::from(err))
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected