Skip to content

Expose ParseError cause - #5932

Merged
Bharat Middha (bmiddha) merged 1 commit into
mainfrom
parse-error-cause
Aug 18, 2026
Merged

Expose ParseError cause#5932
Bharat Middha (bmiddha) merged 1 commit into
mainfrom
parse-error-cause

Conversation

@bmiddha

Copy link
Copy Markdown
Member

Summary

  • Pass parser failures through the standard Error.cause option
  • Retain innerError as a compatibility alias
  • Cover errors with and without an underlying cause

Stacked on #5931.

Validation

  • Built and tested @rushstack/rushell
  • rush change --verify --no-fetch

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14
@bmiddha
Bharat Middha (bmiddha) merged commit 80c05e2 into main Aug 18, 2026
10 checks passed
@bmiddha
Bharat Middha (bmiddha) deleted the parse-error-cause branch August 18, 2026 16:06
@github-project-automation github-project-automation Bot moved this from Needs triage to Closed in Bug Triage Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants