toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho
/
LithoMetadataExceptionWrapper
Litho
Metadata
Exception
Wrapper
class
LithoMetadataExceptionWrapper
:
RuntimeException
Exception class used to add additional Litho metadata to a crash.
Members
Constructors
Litho
Metadata
Exception
Wrapper
Link copied to clipboard
constructor
(
componentTree
:
ComponentTree
?
,
cause
:
Throwable
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
crashing
Component
Name
Link copied to clipboard
val
crashingComponentName
:
String
?
last
Handler
Link copied to clipboard
@
JvmField
var
lastHandler
:
EventHandler
<
ErrorEvent
>
?
message
Link copied to clipboard
open
override
val
message
:
String
Functions
add
Component
Name
For
Layout
Stack
Link copied to clipboard
fun
addComponentNameForLayoutStack
(
componentName
:
String
)
add
Custom
Metadata
Link copied to clipboard
fun
addCustomMetadata
(
key
:
String
,
value
:
String
)
add
Suppressed
Link copied to clipboard
fun
addSuppressed
(
p0
:
Throwable
)
fill
In
Stack
Trace
Link copied to clipboard
open
fun
fillInStackTrace
(
)
:
Throwable
get
Localized
Message
Link copied to clipboard
open
fun
getLocalizedMessage
(
)
:
String
get
Stack
Trace
Link copied to clipboard
open
fun
getStackTrace
(
)
:
Array
<
StackTraceElement
>
get
Suppressed
Link copied to clipboard
fun
getSuppressed
(
)
:
Array
<
Throwable
>
init
Cause
Link copied to clipboard
open
fun
initCause
(
p0
:
Throwable
)
:
Throwable
print
Stack
Trace
Link copied to clipboard
open
fun
printStackTrace
(
)
open
fun
printStackTrace
(
p0
:
PrintStream
)
open
fun
printStackTrace
(
p0
:
PrintWriter
)
set
Stack
Trace
Link copied to clipboard
open
fun
setStackTrace
(
p0
:
Array
<
StackTraceElement
>
)