Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DataizationError() more verbose to make debugging easier #37

Open
nikololiahim opened this issue Jun 30, 2021 · 0 comments
Open

Make DataizationError() more verbose to make debugging easier #37

nikololiahim opened this issue Jun 30, 2021 · 0 comments

Comments

@nikololiahim
Copy link
Collaborator

As of now it is just like this:

class DataizationError(Object):
    def dataize(self):
        raise NotImplementedError()

which provides no information about where it happened and what argument causes it.
A solution would be to provide some metadata about the object that issues it, like the name of the attribute, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant