Only return error code