MediaWiki  1.34.4
ZipDirectoryReaderError.php
Go to the documentation of this file.
1 <?php
24 class ZipDirectoryReaderError extends Exception {
25  protected $errorCode;
26 
27  function __construct( $code ) {
28  $this->errorCode = $code;
29  parent::__construct( "ZipDirectoryReader error: $code" );
30  }
31 
35  function getErrorCode() {
36  return $this->errorCode;
37  }
38 }
ZipDirectoryReaderError\$errorCode
$errorCode
Definition: ZipDirectoryReaderError.php:25
ZipDirectoryReaderError\__construct
__construct( $code)
Definition: ZipDirectoryReaderError.php:27
ZipDirectoryReaderError\getErrorCode
getErrorCode()
Definition: ZipDirectoryReaderError.php:35
ZipDirectoryReaderError
Internal exception class.
Definition: ZipDirectoryReaderError.php:24