aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 556 forks source link

Exception type document seems to be incorrect #6076

Open 291devoss opened 1 month ago

291devoss commented 1 month ago

Describe the issue

In Error Handling in Modular AWS SDK for JavaScript (v3) , "What to expect in service exception classes?" section says "FooServiceException" extends "SdkException" to see class diagram, but I think it extends "ServiceException" to see official document page. Is it right?

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sns/Class/SNSServiceException/

aBurmeseDev commented 1 month ago

Hi @291devoss - thanks for reaching out.

I think I agree with you that our API documentation here is correct but the diagram in the blog post is somewhat confusing with the naming. However, the diagram is in correct order. Hope that makes sense!

github-actions[bot] commented 1 month ago

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

291devoss commented 1 month ago

@aBurmeseDev Thanks, "SdkException" is in Java aws~sdk, so it makes more confusing.