diff --git a/src/errors/ApiError.ts b/src/errors/ApiError.ts index 61ded5fd..745c0f4f 100644 --- a/src/errors/ApiError.ts +++ b/src/errors/ApiError.ts @@ -30,36 +30,6 @@ export default class ApiError extends Error { Object.defineProperty(this, 'message', { enumerable: true }); } - /** - * Get the error message - * - * @since 3.0.0 - * @deprecated Use `error.message` instead. - */ - public getMessage(): string { - return this.message; - } - - /** - * Get the field name that contains an error - * - * @since 3.0.0 - * @deprecated Use `error.field` instead. - */ - public getField(): Maybe { - return this.field; - } - - /** - * Get the API status code - * - * @since 3.0.0 - * @deprecated Use `error.statusCode` instead. - */ - public getStatusCode(): Maybe { - return this.statusCode; - } - /** * Get the documentation URL *