Skip to content

Exceptions in dinero make the code unreadable #19

@acatton

Description

@acatton

args[0], args[0][0][1] ... this is kind a of unreadable.

It would be nice to have explicit __init__ on DineroException so that we know what's happening.

Like:

class DineroException:
    def __init__(self, message):
       self.message = message
       super().__init__(message)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions