(err error)
| 11 | } |
| 12 | |
| 13 | func Error[T any](err error) storage.Iterator[T] { |
| 14 | return &errorIterator[T]{err: err} |
| 15 | } |
| 16 | |
| 17 | func (e *errorIterator[T]) Head(ctx context.Context) (T, error) { |
| 18 | var t T |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…