xtd 0.2.0
Loading...
Searching...
No Matches

◆ stack_trace() [4/9]

xtd::diagnostics::stack_trace::stack_trace ( const std::exception &  exception)
explicit

Initializes a new instance of the xtd::diagnostics::stack_trace class using the provided exception object.

Parameters
exceptionThe exception object from which to construct the stack trace.
Remarks
The xtd::diagnostics::stack_trace is created with the caller's current thread, and does not contain file name, line number, or column information.
The resulting stack trace describes the stack at the time of the exception.