Yuki Takei преди 8 месеца
родител
ревизия
a9ecc1a2b1
променени са 1 файла, в които са добавени 0 реда и са изтрити 12 реда
  1. 0 12
      apps/app/src/pages/[[...path]]/utils.ts

+ 0 - 12
apps/app/src/pages/[[...path]]/utils.ts

@@ -1,22 +1,10 @@
 import { pagePathUtils } from '@growi/core/dist/utils';
-import ExtensibleCustomError from 'extensible-custom-error';
 
 import { SupportedAction } from '~/interfaces/activity';
 import type { SupportedActionType } from '~/interfaces/activity';
 
 import type { IPageToShowRevisionWithMeta } from './types';
 
-export class MultiplePagesHitsError extends ExtensibleCustomError {
-
-  pagePath: string;
-
-  constructor(pagePath: string) {
-    super(`MultiplePagesHitsError occured by '${pagePath}'`);
-    this.pagePath = pagePath;
-  }
-
-}
-
 export const getAction = (props: {
   isNotCreatable: boolean;
   isForbidden: boolean;