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

Conversation

thibaultcha
Copy link
Member

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 driver, as simple strings)

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 thibaultcha merged this pull request into feature/startup-migration Mar 12, 2015
@thibaultcha thibaultcha deleted the feature/dao-error branch March 12, 2015 06:10
bungle added a commit that referenced this pull request Oct 19, 2022
### Summary

### [0.8.13] - 2022-10-14
#### bug fixes
- **x509.\*:** fix set_extension will fail when a extension with same NID is not exist yet ([#75](fffonion/lua-resty-openssl#75)) [b2f57b8](fffonion/lua-resty-openssl@b2f57b8)

#### features
- **x509.altname:** support set and get IP addresses ([#74](fffonion/lua-resty-openssl#74)) [363c80d](fffonion/lua-resty-openssl@363c80d)
- **x509.store:** add set_flags ([#77](fffonion/lua-resty-openssl#77)) [8f3f16a](fffonion/lua-resty-openssl@8f3f16a)

### [0.8.11] - 2022-10-12
#### performance improvements
- **\*:** reuse cdata to improve performance [fc9cecd](fffonion/lua-resty-openssl@fc9cecd)
bungle added a commit that referenced this pull request Oct 19, 2022
### Summary

### [0.8.13] - 2022-10-14
#### bug fixes
- **x509.\*:** fix set_extension will fail when a extension with same NID is not exist yet ([#75](fffonion/lua-resty-openssl#75)) [b2f57b8](fffonion/lua-resty-openssl@b2f57b8)

#### features
- **x509.altname:** support set and get IP addresses ([#74](fffonion/lua-resty-openssl#74)) [363c80d](fffonion/lua-resty-openssl@363c80d)
- **x509.store:** add set_flags ([#77](fffonion/lua-resty-openssl#77)) [8f3f16a](fffonion/lua-resty-openssl@8f3f16a)

### [0.8.11] - 2022-10-12
#### performance improvements
- **\*:** reuse cdata to improve performance [fc9cecd](fffonion/lua-resty-openssl@fc9cecd)
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

Successfully merging this pull request may close these issues.

1 participant