public class DebugMetadata
extends java.lang.Object
LithoMetadataExceptionWrapper
when it wraps an exception. To use it, create a DebugMetadata tree
prop via @OnCreateTreeProp and add custom metadata you want to appear in crashes. Any crash
coming from that subtree will contain this metadata in the LithoMetadataExceptionWrapper. Make
sure to pass in the existing DebugMetadata tree prop if there is one.
Example:
Modifier and Type | Method and Description |
---|---|
static DebugMetadata |
createWithMetadata(DebugMetadata existingMetadata,
java.lang.String key,
java.lang.String value,
java.lang.String... moreKeysAndValues)
Creates a new DebugMetadata object based on an existing DebugMetadata object (or null).
|
public static DebugMetadata createWithMetadata(DebugMetadata existingMetadata, java.lang.String key, java.lang.String value, java.lang.String... moreKeysAndValues)