Yuki Takei 7 miesięcy temu
rodzic
commit
a9ecc1a2b1
1 zmienionych plików z 0 dodań i 12 usunięć
  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;