• Given an error, generates a sequence of Errors.

    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.

    Parameters

    • error: undefined | null | Error
    • order: SequenceOrder

    Returns Iterator<Error>

Generated using TypeDoc