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

Database module error handling #38

Open
MikeGrace opened this issue May 9, 2012 · 1 comment
Open

Database module error handling #38

MikeGrace opened this issue May 9, 2012 · 1 comment

Comments

@MikeGrace
Copy link
Contributor

How is the database module error handling handled and should it be documented?

https://github.com/jmathai/epiphany/blob/master/docs/Database.markdown

@jmathai
Copy link
Owner

jmathai commented May 9, 2012

Yes, it should be documented. One of 3 excpetions are thrown. This is the
heirarchy.

class EpiDatabaseException extends EpiException{}
class EpiDatabaseConnectionException extends EpiDatabaseException{}
class EpiDatabaseQueryException extends EpiDatabaseException{}

https://github.com/jmathai/epiphany/blob/master/src/EpiException.php#L28

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

2 participants