Skip to content

chore: Add better error handling #63

@NucleoFusion

Description

@NucleoFusion

There now exists an ErrorPopup that pops up on screen whenever an error occurs
To better utilize this, we need to refactor code so that whenever an error occurs, it should be showed via the popup.

utils.ReturnError(locn, title string, err error) tea.Cmd

This is the function you can call to return a tea.Cmd error, since it returns tea.Cmd, you need to return this only in the Update() method and any outlying error handling needs to first be returned to the Update() method and then handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions