Add MDExpectedException as a parent class for MDAccessDeniedException,
make it expected
This commit is contained in:
1 parent
db5692cec0
commit
ac9cda19fc
3 files changed
+23
-1
No files matched your search
@@ -38,6 +38,7 @@ final public static function categorizeError(Throwable $exception):int {
|
||||
|| $exception instanceof MDPageNotInAggregatedException
|
||||
|| $exception instanceof MDWrongFileType
|
||||
|| $exception instanceof MDTooManyFilesUploadException
|
||||
|| $exception instanceof MDExpectedException
|
||||
|| $exception instanceof MDMysqliExpectedError
|
||||
) {
|
||||
return self::MD_ERROR_KNOWN;
|
||||
|
||||
Reference in new issue
Block a user