try: trap err