<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Throwing Custom Errors?</title>
	<link>http://www.phpit.net/blog/throwing-custom-errors/</link>
	<description>PHPit has dozens of PHP articles, codesnippets and FAQ's.</description>
	<pubDate>Fri, 16 May 2008 06:25:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: reZo</title>
		<link>http://www.phpit.net/blog/throwing-custom-errors/#comment-1279</link>
		<pubDate>Thu, 20 Apr 2006 11:24:10 +0000</pubDate>
		<guid>http://www.phpit.net/blog/throwing-custom-errors/#comment-1279</guid>
					<description>Although I don't think you have intended your blog post to teach people basic OOP PHP, it certianly thought me the basics. I was studying your code for some time, rewritting it to make it do different things.

That's a great blog post. I also like it how you use return false / true in that way, it's great.

I do however, do one thing. I make functions which handle my errors at the moment. For example, I have a list of error shortcut refference names in database, and call them by there shortcut reference name, and display the full error message that way. By doing it via the database, I can easily update the error using a PHP form any time I want, as you already know.

I do like your method though, since it thought me basic OOP PHP.

Thank you for your blog post, reZo.</description>
		<content:encoded><![CDATA[<p>Although I don&#8217;t think you have intended your blog post to teach people basic OOP PHP, it certianly thought me the basics. I was studying your code for some time, rewritting it to make it do different things.</p>
<p>That&#8217;s a great blog post. I also like it how you use return false / true in that way, it&#8217;s great.</p>
<p>I do however, do one thing. I make functions which handle my errors at the moment. For example, I have a list of error shortcut refference names in database, and call them by there shortcut reference name, and display the full error message that way. By doing it via the database, I can easily update the error using a PHP form any time I want, as you already know.</p>
<p>I do like your method though, since it thought me basic OOP PHP.</p>
<p>Thank you for your blog post, reZo.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
