Preserving original error message in stack trace