fixed that a NSError* can be used as parameter

see issue #44