Implemented foursquare engine error handling support.