(msg: String)
| 85 | } |
| 86 | |
| 87 | fn server_error(msg: String) -> ClientApiError { |
| 88 | ClientApiError::Business { |
| 89 | code: ErrorCode::Uncategorized, |
| 90 | message: msg, |
| 91 | required_action: None, |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | /// Unwrap a `ClientResponsePayload` as a `ReadResults`, returning a |
| 96 | /// `Protocol { InvalidResponse }` error for any other variant. |
no outgoing calls
no test coverage detected