My partner and I have been working on catching errors on different iPhone applications and we're looking to start using NSError. But we're slightly confused on how to use it (mainly how to populate it). Could someone provide us with more info on how to use it?