MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / find_error

Function find_error

certbot/src/acme_client.rs:522–534  ·  view source on GitHub ↗
(order: &mut Order)

Source from the content-addressed store, hash-verified

520}
521
522async fn find_error(order: &mut Order) -> Option<Problem> {
523 if let Some(error) = order.state().error.as_ref() {
524 return Some(error.clone());
525 }
526 for auth in order.authorizations().await.ok()? {
527 for challenge in auth.challenges {
528 if let Some(error) = challenge.error {
529 return Some(error);
530 }
531 }
532 }
533 None
534}
535
536fn make_csr(key: &str, names: &[String]) -> Result<Vec<u8>> {
537 let mut params =

Callers 1

Calls 2

cloneMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected