'Create a new PAC API implementation instance.
Args:
engine: QJSEngine which is used for running PAC.'

def __init__(self, engine):

    super().__init__(parent=engine)
    self._engine = engine
    self._error_con = engine.globalObject().property('Error')
