From: Russell Fulton Date: 2005-12-06T10:30:08+09:00 Subject: how best to handle errors in object instaintiation (sp ?) Hi, I'm new to Ruby and still trying to figure out how best to do things "the Ruby way". The particular problem I am looking at now is the initialize method of a class I am writing. Several things can go wrong in calls to new for this class ranging from the caller specifying incompatible parameters to database calls failing. What is the perferred method of handling such errors? Simply raising exceptions and returning nil? Cheers, Russell -- Posted via http://www.ruby-forum.com/.