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