- catching all exceptions coming from hooks