adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".
This commit is contained in:
@@ -24,3 +24,10 @@ type DependencyMissingError string
|
||||
func (str DependencyMissingError) Error() string {
|
||||
return fmt.Sprintf("DependencyMissingError: %q", string(str))
|
||||
}
|
||||
|
||||
// Raised when the notification system is incorrectly configured
|
||||
type NotificationValidationError string
|
||||
|
||||
func (str NotificationValidationError) Error() string {
|
||||
return fmt.Sprintf("NotificationValidationError: %q", string(str))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user