Skip to main content

new_failure

Function new_failure 

Source
fn new_failure(
    errcode: &ErrorCode,
    message: &str,
) -> Result<Failure, InternalServerError>
Expand description

Helper function that generates a [upload_signatures::v3::Failure]. These are returned by the upload_keys_signature endpoint.