function ArchiveTar::_error

Same name in other branches
  1. 9 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_error()
  2. 10 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_error()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.