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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NotificationsUnsupportedError(
message?):NotificationsUnsupportedError
Defined in: src/client/notification-consent.ts:42
Parameters
Section titled “Parameters”message?
Section titled “message?”string = 'This Internet Identity does not send notifications'
Returns
Section titled “Returns”NotificationsUnsupportedError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”Error.cause
message
Section titled “message”message:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack