Skip to content

Behavior on zero error reasons #84

Description

@MarkAStevens04

What's going wrong?

Sometimes we'll get errors even when there are ZERO error reasons. It would be great if we still added a little error reason, saying something like "An unknown error has occurred."

There's a small implementation in the ToastError component in src\react-app\App.tsx that doesn't quite work. We should clean this up and remove this comment, and add implementation in src\react-app\stores\store.ts that when clearing all of our error reasons, adds this default error message. Every time we add an error message, check if existing array has this error as the first element and if so, replace it with the new error message.

Steps to Reproduce

No response

Desired Behavior

No response

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions