Add some known exception types
This commit is contained in:
1 parent
ccbf528bf3
commit
33484f9f23
1 file changed
+5
-1
+5
-1
@@ -30,11 +30,15 @@ final public static function categorizeError(Throwable $exception):int {
|
||||
|| $exception instanceof MDpageParameterNotFromListException
|
||||
|| $exception instanceof MDmainEntityNotExistentException
|
||||
|| $exception instanceof MDmainEntityNotPublicException
|
||||
|| $exception instanceof MDwriteAccessDeniedException
|
||||
|| $exception instanceof MDNoUpdateVarSetException
|
||||
|| $exception instanceof MDDBConnectionImpossible
|
||||
|| $exception instanceof MDPageNotInAggregatedException
|
||||
|| $exception instanceof MDWrongFileType
|
||||
|| $exception instanceof MDTooManyFilesUploadException
|
||||
|| $exception instanceof MDMysqliExpectedError
|
||||
|| $exception instanceof MDMysqliTimeout
|
||||
|| $exception instanceof MDMysqliInvalidInputEncoding
|
||||
|| $exception instanceof MDPageNotInAggregatedException
|
||||
) {
|
||||
return self::MD_ERROR_KNOWN;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user