Firebase Kotlin SDK
Toggle table of contents
3.0.0-beta1
android
common
jvm
nonJvm
Platform filter
android
common
jvm
nonJvm
Switch theme
Search in API
Firebase Kotlin SDK
firebase-database
/
com.google.firebase.database
/
DatabaseError
/
Companion
/
fromException
from
Exception
android
common
jvm
nonJvm
@
JvmStatic
actual
fun
fromException
(
e
:
Throwable
)
:
DatabaseError
(
source
)
expect
fun
fromException
(
e
:
Throwable
)
:
DatabaseError
(
source
)
A
USER_CODE_EXCEPTION
error carrying
e
's stack trace in
details
.
@
JvmStatic
actual
fun
fromException
(
e
:
Throwable
)
:
DatabaseError
(
source
)
actual
fun
fromException
(
e
:
Throwable
)
:
DatabaseError
(
source
)