DatabaseError

actual class DatabaseError(source)
expect class DatabaseError(source)

A failed operation or cancelled listener, as the Android SDK's DatabaseError; code is one of the constants.

actual class DatabaseError(source)
actual class DatabaseError(source)

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
actual val code: Int
expect val code: Int

One of the error code constants.

actual val code: Int
actual val code: Int
Link copied to clipboard
actual val details: String
expect val details: String

More details of the error, or an empty string.

actual val details: String
actual val details: String
Link copied to clipboard
actual val message: String
expect val message: String

A human readable description of the error.

actual val message: String
actual val message: String

Functions

Link copied to clipboard

The error as an exception, to throw or to fail a coroutine with.

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