public static void outerError(String error) {
        TracyThreadContext ctx = threadContext.get();
        if (isValidContext(ctx)) {
            ctx.popAllWithError(error);
        }
    }
public static void outerError ( String error ) { TracyThreadContext ctx = threadContext . get ( ) ; if ( isValidContext ( ctx ) ) { ctx . popAllWithError ( error ) ; } }
In case where an exception is thrown Tracy.frameError(errorString) can be used to
unwind all Tracy stack frames with a particular user error message.
This is useful when one wants to signal an custom error for a task when one does not
know (or does not care) how deep the the Tracy stack is.