Skip to content

W-18218754: add logic to handle multiple errors returned from api call #677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 14, 2025

Conversation

EstebanRomero84
Copy link
Contributor

Add slogic to handle multiple errors returned from api call
@W-18218754@

Copy link
Member

@cristiand391 cristiand391 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 request to reduce the scope to only the jsforce error.

@cristiand391
Copy link
Member

QA notes:

tested with org create scratch and features not enabled to get the MULTIPLE_API_ERROR err from jsforce, also wrapped it a few times to confirm the code finds it nested error.cause array of errors.

✅ all API errors are rendered in the table (tested with 1 to 6, each gets its own row)
✅ handles deeply-nested errors (re-thrown from multiple layers)

@cristiand391 cristiand391 merged commit 5d193cf into main May 14, 2025
88 of 89 checks passed
@cristiand391 cristiand391 deleted the er/handle-multiple-api-errors branch May 14, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants