You are here

public function ArchiveTar::_error in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_error()

File

core/lib/Drupal/Core/Archiver/ArchiveTar.php, line 13

Class

ArchiveTar
Extends Pear's Archive_Tar to use exceptions.

Namespace

Drupal\Core\Archiver

Code

public function _error($p_message) {
  throw new \Exception($p_message);
}