This module provides a function which gathers stacktrace and format them for error.cause report.
stacktrace(non_neg_integer()) :: list()