DatabaseException

sealed class DatabaseException(message: String, cause: Throwable? = null, queryContext: QueryContext? = null, includeCauseInToString: Boolean = true) : RuntimeException

Base sealed exception for most Octavius Database errors. Only InitializationException and BuilderException are excluded as they are thrown and can't be inside DataResult

Inheritors

Constructors

Link copied to clipboard
protected constructor(message: String, cause: Throwable? = null, queryContext: QueryContext? = null, includeCauseInToString: Boolean = true)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
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.