MCPcopy Create free account
hub / github.com/go-task/task / TaskCalledTooManyTimesError

Struct TaskCalledTooManyTimesError

errors/errors_task.go:104–107  ·  view source on GitHub ↗

TaskCalledTooManyTimesError is returned when the maximum task call limit is exceeded. This is to prevent infinite loops and cyclic dependencies.

Source from the content-addressed store, hash-verified

102// TaskCalledTooManyTimesError is returned when the maximum task call limit is
103// exceeded. This is to prevent infinite loops and cyclic dependencies.
104type TaskCalledTooManyTimesError struct {
105 TaskName string
106 MaximumTaskCall int
107}
108
109func (err *TaskCalledTooManyTimesError) Error() string {
110 return fmt.Sprintf(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected