commonMain.software.momento.kotlin.sdk.exceptions.BadRequestException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Kotlin client SDK for Momento Serverless Cache
The newest version!
package software.momento.kotlin.sdk.exceptions
import software.momento.kotlin.sdk.internal.MomentoTransportErrorDetails
/**
* Invalid parameters sent to Momento Services.
*/
public class BadRequestException(
cause: Throwable,
transportErrorDetails: MomentoTransportErrorDetails
) : MomentoServiceException(
MomentoErrorCode.BAD_REQUEST_ERROR,
MESSAGE,
cause,
transportErrorDetails) {
private companion object {
const val MESSAGE = "The request was invalid; please contact Momento"
}
}