diff --git a/src/errors/ApiError.ts b/src/errors/ApiError.ts index a6bc595b..9710a12a 100644 --- a/src/errors/ApiError.ts +++ b/src/errors/ApiError.ts @@ -27,36 +27,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 *