toBsonList

fun toBsonList(): List<<Error class: unknown class>>(source)

Converts this chain in a list of BSON documents, each representing a stage.

The first element of the returned list is the root of the chain, followed by the second element of the chain, etc.