Skip to content

Exception handling #30

@dg46

Description

@dg46

Currently, we have only minimal handling of exceptions. Given that causal analyses with cause2e have a mostly fixed structure, it would be helpful for the users to receive clearer feedback, at least whenever their input for the main analysis methods cannot be processed as desired.

Steps:

  • identify frequent sources of errors
  • write custom exception types for them to avoid confusion with other errors
  • handle each exception in a way that enables the users to adapt their input accordingly (or inform them whenever the desired functionality is implemented)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions