protected function checkHeaders() { foreach ($this->assets as $asset) { if (!$asset->exists()) { throw new Minimee_ErrorException(Craft::t('Minimee could not find asset ' . $asset->filenamePath . '.')); } } return $this; }