1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-11-28 11:22:10 +01:00
ntfy/util/sprig/flow_control.go
binwiederhier 50c564d8a2 AI docs
2025-07-21 11:24:58 +02:00

8 lines
177 B
Go

package sprig
import "errors"
// fail is a function that always returns an error with the given message.
func fail(msg string) (string, error) {
return "", errors.New(msg)
}