Tag Archives: error handling

Exception and Error Handling

A lot of programming languages have an error-catching (or exception-handling) mechanism, where you can trap errors. How do we do this in Ruby? There are two keywords: begin, and rescue; and the ancestor of all errors is called StandardError. Continue reading

Posted in Development | Tagged , , | 1 Comment