Creates a Seq that throws an error when iterated.
Function that returns the error to throw.
A Seq that throws the specified error when iterated.
Creates a Seq that throws an error when iterated.