error handling for sgdisk part code checking