MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / test_error

Function test_error

crates/libsy/src/core/algorithm.rs:845–847  ·  view source on GitHub ↗
(message: &'static str)

Source from the content-addressed store, hash-verified

843 struct TestError(&'static str);
844
845 fn test_error(message: &'static str) -> LibsyError {
846 LibsyError::external("test", TestError(message))
847 }
848
849 fn classified_client_error(source: LlmClientError) -> Option<RoutingFallbackReason> {
850 classify_fallback(&LibsyError::client_call("target", source)).map(|(_, reason)| reason)

Calls 1

TestErrorClass · 0.70

Tested by

no test coverage detected