4 ms·
Are there any difference to https://github.com/pry/pry-exception_explorer https://github.com/pry/pry-exception_explorer ?
by MartinMond 14y ago
Are there any difference to https://github.com/pry/pry-exception_explorer https://github.com/pry/pry-exception_explorer ?
- cirwin 14y agopry-rescue is a modernization thereof (banisterfiend helped me build it). The only technical difference is that pry-rescue can catch exceptions raised at the C level (like NoMethodError, or ZeroDivisionError); but pry-rescue also has a much easier-to-learn API/UI. (Particularly, by only supporting catching unhandled exceptions, pry-rescue can avoid the need to predicate on which exceptions should be handled).
- kyrylo 14y agoYes. Actually, pry-rescue not only imbibes pry-exception_explorer's power, but also provides its own possibilities. pry-rescue catches everything (even syntax errors).