* @license https://www.gnu.org/licenses/agpl-3.0.html * @link https://gnu.io/social */ class UnknownExtensionMimeException extends ServerException { public function __construct($ext) { // TRANS: We accept the file type (we probably just accept all files) // TRANS: but don't know the file extension for it. %1$s is the extension. $msg = sprintf(_('Unknown MIME type for file extension: %1$s'), _ve($ext)); parent::__construct($msg); } }