Documentation / @zerotal/notifications / UnknownNotificationTypeError
Class: UnknownNotificationTypeError
Defined in: notifications/src/errors.ts:79
Thrown when a queued notification names a class the worker cannot find — the
notification lives outside app/notifications/ and was never registered.
Extends
Constructors
Constructor
new UnknownNotificationTypeError(
type,known):UnknownNotificationTypeError
Defined in: notifications/src/errors.ts:80
Parameters
type
string
known
string[]
Returns
UnknownNotificationTypeError
Overrides
Properties
code
readonlycode:string
Defined in: core/src/errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: core/src/errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: core/src/errors/ZerotalError.ts:20