Package-level declarations

Types

Link copied to clipboard
class ClientErrorContext(val key: String, val value: String)

Describes additional context about an error which may be useful in client-side debugging. This information will be included in exception messages. This contrasts with ErrorMetadata which is not necessarily included in messages and not necessarily client-related.

Link copied to clipboard

Base exception class for any errors that occur while attempting to use an SDK client to make (Smithy) service calls.

Link copied to clipboard
open class ErrorMetadata

Additional metadata about an error

Link copied to clipboard

API marked with this annotation is experimental and has a high chance of being changed or even removed. Do not use it if you develop a library since your library will become binary incompatible with future versions of the runtime.

Link copied to clipboard

API marked with this annotation is internal to the runtime, and it is not intended to be used outside. It could be modified or removed without any notice. Using it outside the runtime (or generated code) could cause undefined behaviour and/or any strange effects.

Link copied to clipboard

Generic interface that any protocol (e.g. HTTP, MQTT, etc) can extend to provide additional access to protocol specific details.

Link copied to clipboard

Base exception class for all exceptions thrown by the SDK. Exception may be a client side exception or a service exception

Link copied to clipboard
annotation class SdkDsl

Signifies that a type is considered part of an SDK DSL for the purposes of scope control

Link copied to clipboard
Link copied to clipboard

ServiceException - Base exception class for any error response returned by a service. Receiving an exception of this type indicates that the caller's request was successfully transmitted to the service and the service sent back an error response.