AshScylla.Error (AshScylla v0.1.1)

Copy Markdown View Source

Common error types and utilities for AshScylla.

This module provides a unified interface for error handling across the AshScylla library, including ScyllaDB-specific errors, configuration errors, and query errors.

Summary

Functions

Formats an error for display to the user.

Returns a suggested retry delay in milliseconds.

Checks if an error is retryable.

Wraps a Xandra error into a structured AshScylla error.

Functions

format_error(error)

Formats an error for display to the user.

retry_delay(arg1)

Returns a suggested retry delay in milliseconds.

retryable?(arg1)

Checks if an error is retryable.

wrap_xandra_error(error)

Wraps a Xandra error into a structured AshScylla error.