Catch exceptions errors implemented