DynamoDBError

zio.dynamodb.DynamoDBError
See theDynamoDBError companion trait
object DynamoDBError

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class AWSError(cause: DynamoDbException) extends DynamoDBError

Encapsulates the underlying AWS SDK dynamodb error in cause which can be pattern matched eg case DynamoDBError.AWSError(_: ConditionalCheckFailedException) => ...

Encapsulates the underlying AWS SDK dynamodb error in cause which can be pattern matched eg case DynamoDBError.AWSError(_: ConditionalCheckFailedException) => ...

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object BatchError

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
BatchError.type
sealed trait BatchError extends DynamoDBError

You need to consider this error if queries result in batching eg if you are using DynamoDBQuery.forEach or manually Zip'ing together DynamoDBQuery's or using utility functions that use DynamoDBQuery.forEach. Note at the point that this error is raised automatic retries have already occurred. For a long running process typical handler actions would be to record the errors and to carry on processing.

You need to consider this error if queries result in batching eg if you are using DynamoDBQuery.forEach or manually Zip'ing together DynamoDBQuery's or using utility functions that use DynamoDBQuery.forEach. Note at the point that this error is raised automatic retries have already occurred. For a long running process typical handler actions would be to record the errors and to carry on processing.

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class GetError
class WriteError
object ItemError

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ItemError.type
sealed trait ItemError extends DynamoDBError

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait TransactionError extends DynamoDBError

You need to handle this error if you are using the transaction API ie dynamoDBQuery.transaction or dynamoDBQuery.safeTransaction

You need to handle this error if you are using the transaction API ie dynamoDBQuery.transaction or dynamoDBQuery.safeTransaction

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror