Set call of _raiseError into raiseError because _raiseError is deprecated