Collapsed catch block

usage of | for all exceptions since they all have the same code.