Wrapping Errors in `runPromise` and Extracting Underlying Error
Why is it that running
runPromise will wrap all my errors with a generic Error class? Is there a way to extract the underlying error out of this? The only way I can see right now is to use runPromiseExit and then get the cause.error and throw it manually