Adapt pin view controler with the new error parameter