From: nobu.nokada@... Date: 2002-04-26T10:54:03+09:00 Subject: Re: strerror in Ruby? Hi, At Fri, 26 Apr 2002 06:56:47 +0900, Rod Schmidt wrote: > Is there a way to get an error message for an errno in Ruby. I'm looking for > similiar functionality as strerror() in C? Raised exceptions from syscalls have message, isn't it good enough? $ ruby -e 'open("nothing") rescue puts $!.message' No such file or directory - "nothing" Or you need the whole mapping from errno to messages? -- Nobu Nakada