commonMain.software.momento.kotlin.sdk.exceptions.PermissionDeniedException.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
/**
* Insufficient permissions to execute an operation.
*/
public class PermissionDeniedException(
cause: Throwable,
transportErrorDetails: MomentoTransportErrorDetails
) : MomentoServiceException(
MomentoErrorCode.PERMISSION_ERROR,
MESSAGE,
cause,
transportErrorDetails
) {
private companion object {
const val MESSAGE = "Insufficient permissions to perform an operation on a cache."
}
}