Skip to content

feat(parameters): pass underlying SDK error as cause to GetParameterError - #4936

Merged
svozza merged 4 commits into
aws-powertools:mainfrom
felsidian:feat/propagate-sdk-errors-to-get-parameter-error
Jan 12, 2026
Merged

svozza merged 4 commits into
aws-powertools:mainfrom
felsidian:feat/propagate-sdk-errors-to-get-parameter-error

Conversation

@felsidian

Copy link
Copy Markdown
Contributor

Summary

Changes

This PR introduces passing of underlying SDK error object to GetParameterError allowing to differentiate between root causes.

Issue number: closes #4935


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@boring-cyborg

boring-cyborg Bot commented Jan 11, 2026

Copy link
Copy Markdown

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #typescript channel on our Powertools for AWS Lambda Discord: Invite link

@boring-cyborg boring-cyborg Bot added parameters This item relates to the Parameters Utility tests PRs that add or change tests labels Jan 11, 2026
@pull-request-size pull-request-size Bot added the size/M PR between 30-99 LOC label Jan 11, 2026
@felsidian
felsidian force-pushed the feat/propagate-sdk-errors-to-get-parameter-error branch from 520634d to 6ac99ec Compare January 11, 2026 14:09
@felsidian
felsidian marked this pull request as ready for review January 12, 2026 11:13
@dreamorosi dreamorosi changed the title feat(parameters): pass underlying SDK error as cause to GetParameterError Jan 12, 2026
@dreamorosi
dreamorosi requested a review from svozza January 12, 2026 11:18
@svozza
svozza merged commit b3499db into aws-powertools:main Jan 12, 2026
46 checks passed
@boring-cyborg

boring-cyborg Bot commented Jan 12, 2026

Copy link
Copy Markdown

Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

@svozza

svozza commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Thank you for the PR @felsidian. Merged!

@felsidian
felsidian deleted the feat/propagate-sdk-errors-to-get-parameter-error branch January 13, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parameters This item relates to the Parameters Utility size/M PR between 30-99 LOC tests PRs that add or change tests

3 participants