Own error reporting system in PHP
<p>Well, I've written an application, and now I want to write something custom that will handle error reporting instead of displaying built in PHP error reporting.</p>

<p>I would want this software to catch PHP errors, and display the message in custom-made box, something like this is done in kohana framework...</p>

<p>How can I do this? I don't really want to fill my code with try-catch. What's the proper way to do this?</p>
