(&self)
| 124 | } |
| 125 | |
| 126 | pub(crate) fn err_by_code(&self) -> HashMap<tonic::Code, u64> { |
| 127 | let mut map: HashMap<tonic::Code, u64> = HashMap::new(); |
| 128 | for o in &self.outcomes { |
| 129 | if let Err(code) = o.result { |
| 130 | *map.entry(code).or_insert(0) += 1; |
| 131 | } |
| 132 | } |
| 133 | map |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | // SUBMISSION PRIMITIVES |
nothing calls this directly
no outgoing calls
no test coverage detected