Skip to content

NotificationsUnsupportedError

Defined in: src/client/notification-consent.ts:41

Thrown where the identity provider does not send notifications at all.

Its own error because its remedy is its own: there is nothing to retry and no ceremony to run, so an application hides the control rather than reporting a failure to the user. A deployment either carries the feature or does not.

  • Error

new NotificationsUnsupportedError(message?): NotificationsUnsupportedError

Defined in: src/client/notification-consent.ts:42

string = 'This Internet Identity does not send notifications'

NotificationsUnsupportedError

Error.constructor

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Error.cause


message: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075

Error.message


name: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074

Error.name


optional stack?: string

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

Error.stack