Add try and except examples