cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

Error Types

I think it would be neat if we could throw and catch error types like in python/js/ruby since we have classes now.  So if I wanted to only catch specific error types I could do that. 

 

And being able to have a builtin error type that we could have the classes inherit would be great.  Then having the exception_msg be that class with easier to parse information (including traceback with lines) rather than the {"Name Unresolved: bbb"(1, 2, "bbb", bbb /*###*/)}.

That way we could do something like 

Names default to here(1);
try(
	a = bbb;
, 
	show(exception_msg["message"]) // show the relevant message
	show(exception_msg["caller"]) // what function the exception happened in
	show(exception_msg["traceback"][2]["message"]); 
	show(exception_msg["traceback"][2]["line"]);
);

Similar to this https://community.jmp.com/t5/JMP-Wish-List/Improved-JSL-Stack-Trace-in-Log-on-Error/idi-p/78104

 

3 Comments
Ryan_Gilmore
Community Manager
Status changed to: Archived
We are archiving this request. If this is still important please comment with additional details and we will reopen. Thank you!
mia_stephens
Staff
Status changed to: Acknowledged
 
hogi
Level XIII

Besides error types, please also report the line of code!

when reporting errors for a standard run -  and in the the exception msg:

Error message - which line?