Add ProgressionError
RoyalIcing opened this issue · comments
Patrick Smith commented
Add ProgressionError that captures what step the progression was at when an error was thrown.
struct ProgressionError<P : Progression, Inner : Swift.Error> : Swift.Error {
var progress: P
var innerError: Inner
}
Could possibly require that Progression has associated type of Error
? Would simplify this a tiny bit