GenerationError

data class GenerationError(val providerClass: String, val message: String, val context: ErrorContext, val exceptionText: String? = null)

Domain error captured during generation.

Domain errors are values, not exceptions. Unexpected exceptions can be attached to exceptionText for diagnostics without driving control flow.

Constructors

Link copied to clipboard
constructor(providerClass: String, message: String, context: ErrorContext, exceptionText: String? = null)

Properties

Link copied to clipboard

Context describing where the error occurred.

Link copied to clipboard

Optional stack trace for unexpected failures.

Link copied to clipboard

Human-readable error message.

Link copied to clipboard

Fully qualified class name of the provider that raised the error.