User bio
404 bio not found
Member since Feb 1, 2021
Pinned posts:
Replies:

Are you looking for something like:

ClassMethod ExceptionTest() [ Language = python ]
{
    import sys
    import iris
    import traceback
    
    try:
        print(1/0)
    except ZeroDivisionError as e:
        errobj=iris.cls("%Exception.General")._New(str(e),42)
        stack_trace_list = traceback.format_tb(e.__traceback__)
        if stack_trace_list:
            last_instruction_line = stack_trace_list[-1].strip()
            errobj.Location = last_instruction_line 
        a = errobj.Log()
}

Which gives:

@Enrico Parisi , with Global Masters, we get a few points for having an answer marked as correct on the community. People often only mark the first correct answer they see. So if the user who posted the question didn't see this thread before the AI bot's post appeared, it's somewhat likely that the bot's post will be marked as the correct answer even though a human user answered the question first. That's all. Seems just a little unfair to me.

Open Exchange applications:
Certifications & Credly badges:
Global Masters badges:
Followers:
Following:
David has not followed anybody yet.