ipso icon indicating copy to clipboard operation
ipso copied to clipboard

Runtime errors appear as Rust panics

Open LightAndLight opened this issue 3 years ago • 0 comments

Fallible operations like subtraction (underflow) and division (divide by zero) make Rust panic. Ipso needs to handle these failures and report its own stack trace.

Without this, users have no way of knowing which part of their program caused the error.

Panics that should be errors-with-source-locations:

  • Pattern match failures
  • Arithmetic errors
  • cmd.run failures

LightAndLight avatar May 15 '22 07:05 LightAndLight