MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_get_exception_stack

Function __hxcpp_get_exception_stack

src/hx/Debug.cpp:546–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544
545
546Array<String> __hxcpp_get_exception_stack()
547{
548 Array<String> result = Array_obj<String>::__new();
549
550#ifdef HXCPP_STACK_TRACE
551 hx::StackContext *ctx = hx::StackContext::getCurrent();
552 ctx->getCurrentExceptionStackAsStrings(result);
553#endif
554
555 return result;
556}
557
558void __hxcpp_set_critical_error_handler(Dynamic inHandler)
559{

Callers

nothing calls this directly

Calls 2

__newFunction · 0.85

Tested by

no test coverage detected