• jenesaisquoi@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    You can do type erasure by converting your errors to Box<dyn Error>, then they have the same type and can be in the same enum variant