aides-repo-api/internal/services/taskservice/errors.go

11 lines
163 B
Go

package taskservice
import "fmt"
type TooOldError struct {
Name string
}
func (e TooOldError) Error() string {
return fmt.Sprintf("%s is too old!", e.Name)
}