What is the current behavior?
AFAIK, there are currently two ways to exit early in an aspect task:
- Return an exit code from an impl function
- Call
fail to exit with a stack trace
Describe the feature
It would be great if it wre possible to exit early from a nested function call without a stack trace. Ideally this would be possible with a new API accessible via ctx. Perhaps ctx.std.process.exit to mirror the Rust stdlib? Another option would be to mirror BXL's fail_no_stacktrace.
What is the current behavior?
AFAIK, there are currently two ways to exit early in an aspect task:
failto exit with a stack traceDescribe the feature
It would be great if it wre possible to exit early from a nested function call without a stack trace. Ideally this would be possible with a new API accessible via
ctx. Perhapsctx.std.process.exitto mirror the Rust stdlib? Another option would be to mirror BXL'sfail_no_stacktrace.