From: Grary Stimon Date: 2010-10-27T01:48:07+09:00 Subject: Re: error handling: two flavors? Robert, Yes, my method would be like find, except I envisioned using a special class of error to account for the case that #find cannot get the 'finder', which, itself, could report nil in the case that the object sought did not exist. my thinking was that the finder might well not be available, so that case was not truly 'exceptional', whereas if the finder were available, but maybe improperly initialized, then that would be exceptional, etc. my special class of error would save me from multiple return values, e.g., [nil, nil]. I guess I can capture my meaning by defining a error specific to my concern. I was just puzzled, because I thought I read (not at http://ruby-doc.org/docs/ProgrammingRuby/html/tut_...) that this had a special approach associated with it (one different, say, from Java). Thanks, Grar -- Posted via http://www.ruby-forum.com/.