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

Support different error handling policies #17

Open
karlicoss opened this issue Apr 12, 2020 · 2 comments
Open

Support different error handling policies #17

karlicoss opened this issue Apr 12, 2020 · 2 comments
Labels
patterns Patterns of working with/writing HPI modules

Comments

@karlicoss
Copy link
Owner

As described here.

E.g. might make sense to implement:

  • fail fast, i.e. throw instead if yielding exceptions
  • fully defensive, i.e. ignore exceptions instead of yielding

That would require cooperation from either underlying data providers, or we could decorate them or something. Perhaps, makes more sense to do it on the HPI level.

@karlicoss karlicoss added the patterns Patterns of working with/writing HPI modules label Nov 1, 2020
@karlicoss
Copy link
Owner Author

Timezone resolution is perhaps one place where it would make a lot of sense -- in many case it's not super bad to fallback on UTC or use local timezone. But tricky to make it generic enough.

@karlicoss
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patterns Patterns of working with/writing HPI modules
Projects
None yet
Development

No branches or pull requests

1 participant