Class AsyncExceptionMapper

java.lang.Object
dev.hogwai.dynamodb.simplified.internal.AsyncExceptionMapper

public final class AsyncExceptionMapper extends Object
Centralized utility for consistent async exception mapping across all async builders.

Usage: All async builder CompletableFuture chains MUST use .exceptionally(AsyncExceptionMapper.handler("Operation", tableName)) instead of inline .handle() or .exceptionally() with instanceof checks. The centralized handler correctly unwraps CompletionException, routes DynamoDbException → OperationFailedException, ConditionalCheckFailedException → ConditionFailedException, and wraps other throwables as DynamoSimplifiedException.

Ensures every async builder wraps exceptions with the same semantics: