Simplify this to `return errCode;`