Files
exceptions
generic
page
updates
MDBlacklistedInputException.php
MDDownloadException.php
MDDuplicateLinkException.php
MDFileIsNotWritable.php
MDFileUploadNotAcceptedException.php
MDImporterDuplicateInvno.php
MDImporterFileAccessIsDisabled.php
MDImporterWritingIsDisabled.php
MDInputStringTooShort.php
MDInsufficientPassword.php
MDInvalidColor.php
MDInvalidCurrency.php
MDInvalidInputDate.php
MDInvalidLengthUnit.php
MDInvalidLicense.php
MDInvalidNodaLink.php
MDInvalidObjectForm.php
MDInvalidObjectPublicationBackground.php
MDInvalidSex.php
MDInvalidWeightUnit.php
MDNewVocabEntryIsStrictlyTypedAsActor.php
MDNewVocabEntryIsStrictlyTypedAsPlace.php
MDNewVocabEntryIsStrictlyTypedAsTag.php
MDNewVocabEntryIsStrictlyTypedAsTime.php
MDNoUpdateVarSetException.php
MDPgpKeyIsInvalid.php
MDTooManyFilesUploadException.php
MDTypedDistinctlyToOtherVocabularyException.php
MDUploadTooLargeException.php
MDUserPasswordsDoNotMatch.php
MDWrongFileType.php
MDcouldNotSaveException.php
MDcouldNotSetPublic.php
MDwriteAccessDeniedException.php
.gitattributes
LICENSE
MDErrorReporter.php
README.md
MDErrorReporter/exceptions/updates/MDTooManyFilesUploadException.php

26 lines
527 B
PHP

<?PHP
/**
* This file contains an exception class for wrongly used files.
*
* @file
*
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/
declare(strict_types = 1);
/**
* Custom exception class for wrongly used files.
*/
final class MDTooManyFilesUploadException extends Exception {
/**
* Error message.
*
* @return string
*/
public function errorMessage() {
//error message
return 'This file\'s extension or mimetype is incorrect: ' . $this->getMessage();
}
}