Better error reporting that preserves stacks.