q/src/errors/String.go
Eduard Urbach 6dfa7ca00d
All checks were successful
/ test (push) Successful in 13s
Moved error types to their respective packages
2025-06-20 12:46:53 +02:00

6 lines
No EOL
150 B
Go

package errors
// String creates a static error message without parameters.
func String(message string) *static {
return &static{Message: message}
}