Files
rpi5-health/internal/errors/errors.go
T

14 lines
168 B
Go

package errors
func New(text string) error {
return &errorString{text}
}
type errorString struct {
s string
}
func (e *errorString) Error() string {
return e.s
}