[][src]Type Definition dangerous::error::ContextStackWalker

type ContextStackWalker<'a> = dyn FnMut(usize, &dyn Context) -> bool + 'a;

A dynamic function for walking a context stack.

Returns true if the walk should continue, false if not.

Parameters

  • index (the index of the context starting from 1).
  • context (the context at the provided index).