Don't lose real errors (we ignore the error the first time the stub
functions are called, so we can return the "real" error from them).