MediaWiki master
RouteDefinitionException.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Rest;
4
5class RouteDefinitionException extends \RuntimeException {
6 public function __construct( $message, $code = 0 ) {
7 parent::__construct( "Bad route definition: $message", $code );
8 }
9}