Traverse an error and its inner errors, calling a callback for each error encountered.
The traversal can be stopped at any time by returning false from the callback.
The root error to traverse.
A function called for each error encountered. If it returns false, the traversal stops.
Optional
Options to control the traversal behavior.
Traverse an error and its inner errors, calling a callback for each error encountered.
The traversal can be stopped at any time by returning false from the callback.