Skip to content

@sourceloop/notification-service / Exports / ErrorKeys

Enumeration: ErrorKeys

Table of contents

Enumeration Members

Enumeration Members

BodyNotFound

BodyNotFound = "Body Not Found"

Defined in

services/notification-service/src/enums/error-keys.enum.ts:7


DraftError

DraftError = "For drafting notification with out group key, subject, receiver and fromEmail in options are mandatory."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:13


GroupKeyMandatory

GroupKeyMandatory = "For draft notification group key is mandatory."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:8


GroupedDraftError

GroupedDraftError = "For drafting notification with group key subject, receiver and fromEmail in options does not need to be in request."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:9


GroupedDraftFromEmailError

GroupedDraftFromEmailError = "For drafting notification with group key fromEmail should not be in the options key of request."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:12


GroupedDraftReceiverError

GroupedDraftReceiverError = "For drafting notification with group key receiver should not be in the request."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:11


GroupedDraftSubjectError

GroupedDraftSubjectError = "For drafting notification with group key subject should not be in the request."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:10


MandatoryGroupKey

MandatoryGroupKey = "Group key is mandatory."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:14


NoDraftFound

NoDraftFound = "There is no draft notification found to send."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:15


NoUserFoundToSendNotification

NoUserFoundToSendNotification = "No user is found with given criteria to send notifications."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:17


ReceiverNotFound

ReceiverNotFound = "ReceiverNotFound"

Defined in

services/notification-service/src/enums/error-keys.enum.ts:6


StartEndTimeBothMandatoryTogether

StartEndTimeBothMandatoryTogether = "In case start time is given end time is mandatory and vice-versa."

Defined in

services/notification-service/src/enums/error-keys.enum.ts:16