nee-core / dev.neeffect.nee.effects.tx / TxErrorType

TxErrorType

sealed class TxErrorType : TxError

Errors.

Types

CannotCommitTransaction

Transaction cannot be committed.

object CannotCommitTransaction : TxErrorType

CannotContinueTransaction

Cannot run operation in parent transaction,

object CannotContinueTransaction : TxErrorType

CannotQuery

Query on connection cannot be processed.

data class CannotQuery : TxErrorType

CannotRollbackTransaction

Transaction cannot be rolled back.

object CannotRollbackTransaction : TxErrorType

CannotStartTransaction

Tx cannot be started.

object CannotStartTransaction : TxErrorType

InternalException

Unhandled java exception occured.

data class InternalException : TxErrorType

MultipleErrors

Mulitple errors occured.

data class MultipleErrors : TxErrorType

NoConnection

No connection (provider) available.

object NoConnection : TxErrorType

Functions

txError

open fun txError(): TxErrorType