in app/services/DynamoChannelTests.scala [95:103]
private def update(updateRequest: UpdateItemRequest): ZIO[ZEnv, DynamoError, Unit] =
effectBlocking {
val result = client.updateItem(updateRequest)
logger.info(s"UpdateItemResponse: $result")
()
}.mapError {
case err: ConditionalCheckFailedException => DynamoNoLockError(err)
case other => DynamoPutError(other)
}