wikimedia/mediawiki-extensions-Translate

View on GitHub
src/WebService/TranslationWebServiceInvalidInputException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare( strict_types = 1 );

namespace MediaWiki\Extension\Translate\WebService;

use Exception;

/**
 * Used to signal that the requested input is rejected and cannot be used with
 * an external web service. This is in contrast to a failure in the web service
 * itself that is not in our control. Most common case for this is input that is
 * too long.
 * service itself.
 * @author Niklas Laxström
 * @license GPL-2.0-or-later
 * @since 2017.04
 * @ingroup TranslationWebService
 */
class TranslationWebServiceInvalidInputException extends Exception {
}