If the given error is a KindError-derivitive, this function will return
a sequence starting with that error and then including any causal errors,
chaining through causal KindErrors accordingly.
If reverse is true, the generated sequence starts with the lowermost
causal error and ends with the given error.
Given an error, generates a sequence of
Error
s.If the given error is a
KindError
-derivitive, this function will return a sequence starting with that error and then including any causal errors, chaining through causalKindError
s accordingly.If
reverse
istrue
, the generated sequence starts with the lowermost causal error and ends with the given error.