Skip to content

Conversation

@siddsriv
Copy link
Contributor

@siddsriv siddsriv commented Jan 2, 2025

Issue #, if available:
Internal JS-5478

Description of changes:
Adds an isInstance type check helper method for generic ServiceException class in smithy-client.

ServiceException.isInstance(e)/ e instanceof ServiceException should now tell if something is an instance of the generic ServiceException class

If one or more of the packages in the /packages directory has been modified, be sure yarn changeset add has been run and its output has
been committed and included in this pull request. See CONTRIBUTING.md.


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

@siddsriv siddsriv requested a review from a team as a code owner January 2, 2025 14:58
@siddsriv siddsriv merged commit 23129d9 into smithy-lang:main Jan 2, 2025
11 checks passed
@siddsriv siddsriv deleted the feat/ServiceException-helper branch January 2, 2025 16:52
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