Ability to Break on Uncaught Exceptions

Hello! Is it possible to break/pry on an uncaught exception, similar to what’s possible with Javascript or Ruby?