AdvanceException

Exception, to be thrown when a call to advancePast went wrong.

It is a normal Exception but with an attached needle and haystack.

Constructors

this
this(string message, string file, size_t line, Throwable nextInChain)

Create a new AdvanceExceptionImpl, without attaching anything.

Members

Functions

haystack
string haystack()

Returns a string of the original haystack the call to advancePast was operating on.

needle
string needle()

Returns a string of the original needle the call to advancePast was operating on.