github.com/Axway/agent-sdk@v1.1.101/pkg/notify/errors.go (about) 1 package notify 2 3 import agenterrors "github.com/Axway/agent-sdk/pkg/util/errors" 4 5 // Errors hit when sending subscription notifications 6 var ( 7 ErrSubscriptionNotification = agenterrors.Newf(1300, "could not send notification via %s, check SUBSCRIPTION config") 8 ErrSubscriptionNoNotifications = agenterrors.New(1301, "no subscription notification type is configured, check SUBSCRIPTION config") 9 ErrSubscriptionData = agenterrors.New(1302, "error creating notification request") 10 ErrSubscriptionBadAuthtype = agenterrors.Newf(1303, "email template not updated because an invalid authType was supplied: %s. Check central.subscriptions.notifications.smtp.authType") 11 ErrSubscriptionNoTemplateForAction = agenterrors.Newf(1304, "no email template found for action %s") 12 ErrSubscriptionSendEmail = agenterrors.New(1305, "error sending email to SMTP server") 13 )