Skip to main content
zerotal

Documentation


Documentation / @zerotal/notifications / NotificationChannelUnavailableError

Class: NotificationChannelUnavailableError

Defined in: notifications/src/errors.ts:54

Thrown when a channel cannot run because an optional peer package or required config is missing (e.g. the broadcast channel without @zerotal/broadcasting, or the SMS driver's credential block).

Extends

Constructors

Constructor

new NotificationChannelUnavailableError(message): NotificationChannelUnavailableError

Defined in: notifications/src/errors.ts:55

Parameters

message

string

Returns

NotificationChannelUnavailableError

Overrides

NotificationError.constructor

Properties

code

readonly code: string

Defined in: core/src/errors/ZerotalError.ts:18

Inherited from

NotificationError.code


status

readonly status: number = 500

Defined in: core/src/errors/ZerotalError.ts:19

Inherited from

NotificationError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: core/src/errors/ZerotalError.ts:20

Inherited from

NotificationError.context