FatalDatabaseException

abstract class FatalDatabaseException(message: String, queryContext: QueryContext?, cause: Throwable?) : OctaviusException

Base class for non-recoverable database errors that are thrown immediately instead of being wrapped in io.github.octaviusframework.db.api.DataResult.

These exceptions typically represent developer errors (e.g., SQL syntax errors, type mapping mismatches) or critical system failures that require code changes or operator intervention.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, queryContext: QueryContext?, cause: Throwable?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard

Subclasses can provide additional technical details here.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Enriches the exception with a full query context.

Link copied to clipboard

Enriches the exception with the transaction step index.