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