nthOverNothing method

String nthOverNothing(
  1. String inner
)

An nth over a target that matches nothing at all.

Said first and on its own: the index is not what needs fixing, so the reader should stop looking at it and read the miss underneath.

Implementation

String nthOverNothing(String inner) =>
    '`nth` has nothing to index, because $inner matches nothing. Fix that '
    'target first. ';