error handling
Guilty Of PHP articles about error handling
1 article
-
Throw a PHP Exception When an Operation Fails, Then Catch It at the Caller
Use distinct exceptions for invalid input and an operation that cannot finish, let an intermediate function pass them through, and catch them where a useful response is possible.
