Skip to content

Think about better error categorization (error codes?) regarding whether a retry of failed request(s) may work #27

@derekpierre

Description

@derekpierre

From @piotr-roslaniec :

Just a question: If the decryption request fails, it must be because one of the participants failed. In that case, what do we do on the client side? Do we retry once and then rest our case or is there any other action we could take based on errors contents? At this point, the ritual is complete and validated.

From @derekpierre :

Good question. This is a possible improvement to our error handling. I think we've chatted previously (perhaps there is an issue somewhere) about possibly having integer error codes or something like that as part of the error information returned, then the errors can be contextualized appropriately eg. blip on connectivity vs something more problematic (wrong encrypting key used etc.). A blip in connectivity would signal a retry would possibly be successful.

That is something we can perhaps build upon.

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