MCPcopy Create free account
hub / github.com/cowprotocol/services / join_sample_order_errors

Function join_sample_order_errors

crates/fee-engine/src/loader.rs:22–28  ·  view source on GitHub ↗

Every sample order failure on one line.

(errors: &[SampleOrderError])

Source from the content-addressed store, hash-verified

20
21/// Every sample order failure on one line.
22fn join_sample_order_errors(errors: &[SampleOrderError]) -> String {
23 errors
24 .iter()
25 .map(ToString::to_string)
26 .collect::<Vec<_>>()
27 .join("; ")
28}
29
30/// The `lists`, `rule` and `partner-fees` tables of a rules file as raw TOML,
31/// e.g. from a section of a host config; `None` is an absent table, as in a

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected