Isn't these last 4 lines the same as `return errCode` ?