Improved producing NSError example

In the example it looked like in case a `NSError **` parameter is not passed, we should just return `YES`, whereas we should return `NO` in any case and just avoid to dereference the pointer.