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

Add custom exceptions #57

Merged
merged 15 commits into from Oct 21, 2019
Merged

Add custom exceptions #57

merged 15 commits into from Oct 21, 2019

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented Oct 12, 2019

Rather than use the root RuntimeException, use our own PhpTemplateNotFoundException so that it can be caught specifically.

Fixes #43.

This PR is branched off of #55's branch, so should be rebased after #55 is merged.

@akrabat akrabat added this to the 3.0 milestone Oct 12, 2019
@akrabat akrabat changed the title Custom exceptions Add custom exceptions Oct 12, 2019
Rather than use the root RuntimeException, use our own
PhpTemplateNotFoundException so that it can be caught specifically.
@l0gicgate l0gicgate merged commit a463332 into slimphp:3.x Oct 21, 2019
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.

Handling 404 errors
2 participants