Couldn't this be somehow in the following form? Might be more future proof than listing all possible error cases.

    Ok(Some(n)) => {}
    _ => break