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

feat: introduce DaoError for cleaner error report. #75

Merged
merged 1 commit into from
Mar 12, 2015

Commits on Mar 12, 2015

  1. feat: introduce DaoError for cleaner error report.

    DaoError is an error with a type and a message, just like the old table
    returned by base_dao.build_error() but it can be printed and
    concatenated in a string.
    
    Instead of printing err.message, it can be printed by just 'err'. This
    eliminates confusion when interacting with the DAO and the errors it
    returns and also allows the Factory to use those, unlike before (before,
    it was only returning errors from the cassandra drivers, as simple
    strings)
    thibaultcha committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    871a5c3 View commit details
    Browse the repository at this point in the history