expose whole NSError rather than code prop.