Skip to content

RumErrorSource

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

enum RumErrorSource : Enum<RumErrorSource>

Describe the source of a RUM Error.

See also

RumMonitor

Entries

NETWORK

NETWORK

Error originated in the Network layer.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

SOURCE

SOURCE

Error originated in the source code (usually a crash).

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

CONSOLE

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

LOGGER

Error extracted from a logged error.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

AGENT

AGENT

Error originated in an Agent.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

WEBVIEW

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.

Clone this wiki locally