Package-level declarations
Types
Link copied to clipboard
Feature that inspects the HTTP response and throws an exception if it is not successful This is provided for clients generated by smithy-kotlin-codegen. Not expected to be used by AWS services which define specific mappings from an error to the appropriate modeled exception. Out of the box nothing in Smithy gives us that ability (other than the HTTP status code which is not guaranteed unique per error) so all we can do is throw a generic exception with the code and let the user figure out what modeled error it was using whatever matching mechanism they want.
Link copied to clipboard
class HttpResponseException
Generic HTTP service exception
Link copied to clipboard