From: Albert Schlef Date: 2010-02-14T09:13:46+09:00 Subject: Re: What is the best exception to use for bad Data State? Christopher Dicely wrote: > If a call is made to an undefined method, you'll normally (unless > you've, e.g., done something with method_missing that redirects the > call) get a NoMethodError exception thrown. But NoMethodError is also raised if you have a typo in your code. So when you're going to see it you're going to think that you've mistyped something, or that your library isn't updated for Ruby 1.9, or has a bug, or ... -- Posted via http://www.ruby-forum.com/.