Skip to content

Return InvalidStateError to caller #211

Description

@iinuwa

Right now, we don't actually return the errors returned by the CredentialService to the D-Bus caller; we show the error in the UI, then the user closes the window, which causes cancellation. Most errors at this point would just map to NotAllowedError, but CredentialExcluded -> InvalidStateError is never given to the caller.

We need to return real errors to the caller, while still allowing the UI to acknowledge the error if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions