catch `err`