
commonMain.aws.sdk.kotlin.services.s3.model.S3Exception.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.s3.model
import aws.sdk.kotlin.runtime.AwsServiceException
import aws.smithy.kotlin.runtime.ServiceException
/**
* Base class for all service related exceptions thrown by the S3 client
*/
public open class S3Exception : AwsServiceException {
public constructor() : super()
public constructor(message: String?) : super(message)
public constructor(message: String?, cause: Throwable?) : super(message, cause)
public constructor(cause: Throwable?) : super(cause)
override val sdkErrorMetadata: S3ErrorMetadata = S3ErrorMetadata()
override val displayMetadata: List
get() =
super.displayMetadata +
listOfNotNull(sdkErrorMetadata.requestId2?.let { "Extended request ID: $it" })
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy