Skip to content

Refactor exceptions #23

@JJ

Description

@JJ

Right now it looks like...

my %errors =
    # Success
       0 => "",

    # Generic errors
    1000 => "INI - constructor failed", ...

We should probably make some attempt to automatize it, maybe generate X::Text::CSV::Ini names and then generate the message automatically. Refactoring the code, which looks like self!fail(%error<1000>) shouldn't be too difficult either.

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