Ruby - Error Handling
You want to rescue only exceptions related to file operations but not all standard errors. Which class should you rescue in Ruby?
IOError.IOError catches only file-related exceptions, not all standard errors.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions