Skip to content

Commit afb042f

Browse files
authored
Merge pull request #745 from connectkushal/patch-1
Create 09-02-01-Errors.md
2 parents 214ce36 + 165f7f9 commit afb042f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/09-02-01-Errors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ make the switch. Basically you can throw your "errors" as "exceptions" using the
132132
the `Exception` class.
133133
134134
This is a common practice implemented by a large number of modern frameworks such as Symfony and Laravel. In debug
135-
mode *(or dev mode)* both of these frameworks will display a nice and clean *stack trace*.
135+
mode *(or dev mode)* both of these frameworks will display a nice and clean *stack trace*.
136+
137+
There are also some packages available for better error and exception handling and reporting. Like [Whoops!], which comes with the default installation of Laravel and can be used in any framework as well.
136138
137139
By throwing errors as exceptions in development you can handle them better than the usual result, and if you see an
138140
exception during development you can wrap it in a catch statement with specific instructions on how to handle the

0 commit comments

Comments
 (0)