Add some known exception types

This commit is contained in:
Joshua Ramon Enslin 2020-07-20 13:47:53 +02:00 committed by Stefan Rohde-Enslin
parent ccbf528bf3
commit 33484f9f23

View File

@ -30,11 +30,15 @@ class MDErrorReporter {
|| $exception instanceof MDpageParameterNotFromListException || $exception instanceof MDpageParameterNotFromListException
|| $exception instanceof MDmainEntityNotExistentException || $exception instanceof MDmainEntityNotExistentException
|| $exception instanceof MDmainEntityNotPublicException || $exception instanceof MDmainEntityNotPublicException
|| $exception instanceof MDwriteAccessDeniedException
|| $exception instanceof MDNoUpdateVarSetException
|| $exception instanceof MDDBConnectionImpossible || $exception instanceof MDDBConnectionImpossible
|| $exception instanceof MDPageNotInAggregatedException
|| $exception instanceof MDWrongFileType
|| $exception instanceof MDTooManyFilesUploadException
|| $exception instanceof MDMysqliExpectedError || $exception instanceof MDMysqliExpectedError
|| $exception instanceof MDMysqliTimeout || $exception instanceof MDMysqliTimeout
|| $exception instanceof MDMysqliInvalidInputEncoding || $exception instanceof MDMysqliInvalidInputEncoding
|| $exception instanceof MDPageNotInAggregatedException
) { ) {
return self::MD_ERROR_KNOWN; return self::MD_ERROR_KNOWN;
} }