Skip to content

Documentation


Documentation / @kizami/notify / WebPushGoneError

Class: WebPushGoneError ​

Defined in: packages/notify/src/web-push.ts:67

プッシュサービスが 404 / 410 を返した(= 購読が失効した)ことを表す。 呼び出し側はこれを見て購読行に failed_at を立てる(遅延プルーニング)。

Extends ​

  • Error

Constructors ​

Constructor ​

new WebPushGoneError(endpoint, status): WebPushGoneError

Defined in: packages/notify/src/web-push.ts:71

Parameters ​

endpoint ​

string

status ​

number

Returns ​

WebPushGoneError

Overrides ​

Error.constructor

Properties ​

cause? ​

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from ​

Error.cause


endpoint ​

readonly endpoint: string

Defined in: packages/notify/src/web-push.ts:68


message ​

message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from ​

Error.message


name ​

name: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

Error.name


stack? ​

optional stack?: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from ​

Error.stack


status ​

readonly status: number

Defined in: packages/notify/src/web-push.ts:69