MediaWiki master
NameTableAccessException.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Storage;
22
23use RuntimeException;
24
31class NameTableAccessException extends RuntimeException {
32
39 public static function newFromDetails( $tableName, $accessType, $accessValue ) {
40 $message = "Failed to access name from {$tableName} using {$accessType} = {$accessValue}";
41 return new self( $message );
42 }
43
44}
Exception representing a failure to look up a row from a name table.
static newFromDetails( $tableName, $accessType, $accessValue)