* @license https://www.gnu.org/licenses/agpl-3.0.html * @link https://gnu.io/social */ class UnknownMimeExtensionException extends ServerException { public function __construct($msg=null) { if ($msg === null) { // TRANS: We accept the file type (we probably just accept all files) // TRANS: but don't know the file extension for it. $msg = _('Supported mimetype but unknown extension relation.'); } parent::__construct($msg); } }