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

Better error/Exception handling #52

Open
CodeProKid opened this issue Nov 14, 2018 · 0 comments
Open

Better error/Exception handling #52

CodeProKid opened this issue Nov 14, 2018 · 0 comments

Comments

@CodeProKid
Copy link
Collaborator

There's a few places in the DFM_Transients class that we throw Exceptions for things like trying to retrieve data for a transient that hasn't been registered through the registration system. We should either handle these exceptions and do something with them, or just make them WP_Error objects.

The way things are currently setup cause an IDE to light up like a Christmas tree every time you use the API since there are unhandled exceptions in the underlying code.

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