my ($error, $errorString) = $measure->getError(); die $errorString if $error;