Store PHP Exceptions in array
Posted
by Industrial
on Stack Overflow
See other posts from Stack Overflow
or by Industrial
Published on 2010-04-30T12:04:53Z
Indexed on
2010/04/30
12:07 UTC
Read the original article
Hit count: 368
Hi everyone,
I am really not sure if this is the right way to go, since exceptions is really a fresh subject to me. Is it possible to catch multiple exceptions (let the execution of the script continue) and then store the exceptions in a array to be able to return all exceptions caused?
By that said, it would be awesome to be able to use exceptions to more than just showing an error that kills the application (script)
Thanks!
© Stack Overflow or respective owner