-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
How about throw exceptions? #117
Comments
@AliverdiSultanli I'm sorry, I don't understand the question. |
@alexeymezenin How we can write code about throw exception with best practice? With try catch or another style? |
Laravel automatically converts some types of exceptions to appropriate HTTP errors which is great because we don't need to handle those. With other types of exceptions just use standard try/catch. |
There few things which can improve your code while dealing with exceptions.
|
No description provided.
The text was updated successfully, but these errors were encountered: