Error handler

Add a `:handle-exception` handle which is called in case an exception is thrown.