General question: should crash call Inspect.toStr. That way you can crash some_context_variable and it will just print the value of some_context_variable
I think it's easy enough to put that inside the string if you want it
more explicit that way
Maybe not that useful and should be left as crash (Inspect.to_str(some_context_variable)) or crash "Some context on the failure: ${Inspect.to_str(some_context_var)}"
Sounds good
Brendan Hansknecht has marked this topic as resolved.
Last updated: Jun 16 2026 at 16:19 UTC