# ExposedR2dbcException

class ExposedR2dbcException(cause: Throwable?, val contexts: List<StatementContext>, transaction: R2dbcTransaction) : R2dbcException

An exception that provides information about a database access error, within the contexts of the executed statements that caused the exception.

## Constructors

ExposedR2dbcException
Link copied to clipboard
constructor(cause: Throwable?, contexts: List<StatementContext>, transaction: R2dbcTransaction)

## Properties

cause
Link copied to clipboard
open val cause: Throwable?
contexts
Link copied to clipboard
val contexts: List<StatementContext>
errorCode
Link copied to clipboard
val errorCode: Int
message
Link copied to clipboard
open override val message: String
sql
Link copied to clipboard
@get:Nullable
val sql: String?
sqlState
Link copied to clipboard
@get:Nullable
val sqlState: String?

## Functions

causedByQueries
Link copied to clipboard
fun causedByQueries(): List<String>
getSpecificErrorCode
Link copied to clipboard
fun getSpecificErrorCode(): Int
getSQLState
Link copied to clipboard
fun getSQLState(): String
toString
Link copied to clipboard
open override fun toString(): String