mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-11-28 11:22:10 +01:00
8 lines
177 B
Go
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)
|
|
}
|