RumErrorSource - DataDog/dd-sdk-android GitHub Wiki
enum RumErrorSource : Enum<RumErrorSource>
Describe the source of a RUM Error.
See also
RumMonitor |
Entries
NETWORK
Error originated in the Network layer.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
SOURCE
Error originated in the source code (usually a crash).
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
CONSOLE
Error originated in a console (e.g.: in a webview).
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
LOGGER
Error extracted from a logged error.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
AGENT
Error originated in an Agent.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
WEBVIEW
Error originated in a WebView.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
Functions
valueOf
fun valueOf(value: String): RumErrorSource
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Throws
IllegalArgumentException | if this enum type has no constant with the specified name |
values
fun values(): Array<RumErrorSource>
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.