Appearance
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?
optionalcause?: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
readonlyendpoint: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?
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Error.stack
status
readonlystatus:number
Defined in: packages/notify/src/web-push.ts:69