RollbackSignal

internal class RollbackSignal(val failure: DataResult.Failure) : RuntimeException

Carries a DataResult.Failure out through a transaction that only understands exceptions.

Built without a stack trace and without suppression: it never reaches the caller and is never logged, so capturing a trace for it would be paying for a diagnostic nobody reads. The failure it carries has the driver's own trace and query context already.

Constructors

Link copied to clipboard
constructor(failure: DataResult.Failure)

Properties

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