Skip to content

Errors are not public #162

@samueltardieu

Description

@samueltardieu

The try_new() method of VirtAddr and PhysAddr may return respectively VirtAddrNotValid and PhysAddrNotValid. Unfortunately, those error structs are defined in the private module addr and are not reexported, so their content cannot be accessed and they can't be stored in other errors.

It would be great to export both of them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions