()
| 107 | } |
| 108 | |
| 109 | func (err *TaskCalledTooManyTimesError) Error() string { |
| 110 | return fmt.Sprintf( |
| 111 | `task: Maximum task call exceeded (%d) for task %q: probably an cyclic dep or infinite loop`, |
| 112 | err.MaximumTaskCall, |
| 113 | err.TaskName, |
| 114 | ) |
| 115 | } |
| 116 | |
| 117 | func (err *TaskCalledTooManyTimesError) Code() int { |
| 118 | return CodeTaskCalledTooManyTimes |
nothing calls this directly
no outgoing calls
no test coverage detected