From 63f468c222ef0b088f4a5b7b84dc796955db201b Mon Sep 17 00:00:00 2001 From: huianyang Date: Fri, 13 Jan 2023 14:32:54 -0800 Subject: [PATCH] refactor: file name change and some cleanup re #1994 --- packages/taquito-core/src/error/common.ts | 2 +- packages/taquito-core/src/error/errors.ts | 2 +- .../src/interface/{status_code.ts => http_status_code.ts} | 0 packages/taquito-core/src/taquito-core.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename packages/taquito-core/src/interface/{status_code.ts => http_status_code.ts} (100%) diff --git a/packages/taquito-core/src/error/common.ts b/packages/taquito-core/src/error/common.ts index 9dd43d4d16..fe2dd06299 100644 --- a/packages/taquito-core/src/error/common.ts +++ b/packages/taquito-core/src/error/common.ts @@ -4,7 +4,7 @@ import { UnsupportedAction, InternalValidationError, } from './errors'; -import { STATUS_CODE } from '../interface/status_code'; +import { STATUS_CODE } from '../interface/http_status_code'; /** * @category Error diff --git a/packages/taquito-core/src/error/errors.ts b/packages/taquito-core/src/error/errors.ts index 3181122aee..3163754c45 100644 --- a/packages/taquito-core/src/error/errors.ts +++ b/packages/taquito-core/src/error/errors.ts @@ -1,6 +1,6 @@ /** * @category Error - * @description Error that indicates the data get from third party has incorrect format + * @description Error that indicates the data get from other servies has incorrect format */ export class InternalValidationError extends Error { public name = 'InternalValidationError'; diff --git a/packages/taquito-core/src/interface/status_code.ts b/packages/taquito-core/src/interface/http_status_code.ts similarity index 100% rename from packages/taquito-core/src/interface/status_code.ts rename to packages/taquito-core/src/interface/http_status_code.ts diff --git a/packages/taquito-core/src/taquito-core.ts b/packages/taquito-core/src/taquito-core.ts index 2f347e2790..cf7831ff4f 100644 --- a/packages/taquito-core/src/taquito-core.ts +++ b/packages/taquito-core/src/taquito-core.ts @@ -5,4 +5,4 @@ export * from './error/errors'; export * from './error/common'; -export * from './interface/status_code'; +export * from './interface/http_status_code';