From 1b49dc8c563b4c338320c5026179d9db25211535 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 4 Jul 2023 16:09:38 +0200 Subject: [PATCH] MOBILE-4362 core: Fix error with options filename --- src/core/classes/errors/errors.ts | 2 +- .../classes/errors/{errorwithtitle.ts => errorwithoptions.ts} | 0 src/core/services/sites.ts | 2 +- src/core/services/utils/utils.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/core/classes/errors/{errorwithtitle.ts => errorwithoptions.ts} (100%) diff --git a/src/core/classes/errors/errors.ts b/src/core/classes/errors/errors.ts index 3c4f6877a..776faf713 100644 --- a/src/core/classes/errors/errors.ts +++ b/src/core/classes/errors/errors.ts @@ -24,7 +24,7 @@ import { CoreCaptureError } from './captureerror'; import { CoreNetworkError } from './network-error'; import { CoreSiteError } from './siteerror'; import { CoreLoginError } from './loginerror'; -import { CoreErrorWithOptions } from './errorwithtitle'; +import { CoreErrorWithOptions } from './errorwithoptions'; import { CoreHttpError } from './httperror'; export const CORE_ERRORS_CLASSES: Type[] = [ diff --git a/src/core/classes/errors/errorwithtitle.ts b/src/core/classes/errors/errorwithoptions.ts similarity index 100% rename from src/core/classes/errors/errorwithtitle.ts rename to src/core/classes/errors/errorwithoptions.ts diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index f2e7b64bc..c0e0dd441 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -51,7 +51,7 @@ import { CoreRedirectPayload } from './navigator'; import { CoreSitesFactory } from './sites-factory'; import { CoreText } from '@singletons/text'; import { CoreLoginHelper } from '@features/login/services/login-helper'; -import { CoreErrorWithOptions } from '@classes/errors/errorwithtitle'; +import { CoreErrorWithOptions } from '@classes/errors/errorwithoptions'; import { CoreAjaxError } from '@classes/errors/ajaxerror'; import { CoreAjaxWSError } from '@classes/errors/ajaxwserror'; import { CoreSitePlugins } from '@features/siteplugins/services/siteplugins'; diff --git a/src/core/services/utils/utils.ts b/src/core/services/utils/utils.ts index 35ae3d503..4c10f5c40 100644 --- a/src/core/services/utils/utils.ts +++ b/src/core/services/utils/utils.ts @@ -35,7 +35,7 @@ import { CoreWindow } from '@singletons/window'; import { CoreColors } from '@singletons/colors'; import { CorePromisedValue } from '@classes/promised-value'; import { CorePlatform } from '@services/platform'; -import { CoreErrorWithOptions } from '@classes/errors/errorwithtitle'; +import { CoreErrorWithOptions } from '@classes/errors/errorwithoptions'; import { CoreFilepool } from '@services/filepool'; import { CoreSites } from '@services/sites'; import { CoreCancellablePromise } from '@classes/cancellable-promise';