Skip to content

[Bug]: Fix error handling #13

@Computroniks

Description

@Computroniks

What would you like to see?

Current error handling is a bit of a mess. We have a mix of exceptions and return codes, yet the places where we catch the return codes seems to forever vary which is a bit of a pain.

Exceptions need to be caught within commands, not in the calling Cli instance. Each exception type defined by us should be allocated an error code that should be included in the exceptions and then returned by the subcommand.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions