mirror of https://github.com/M66B/FairEmail.git
27 lines
517 B
Kotlin
27 lines
517 B
Kotlin
package com.bugsnag.android
|
|
|
|
/**
|
|
* Represents the type of error captured
|
|
*/
|
|
enum class ErrorType(internal val desc: String) {
|
|
|
|
/**
|
|
* An error captured from Android's JVM layer
|
|
*/
|
|
ANDROID("android"),
|
|
|
|
/**
|
|
* An error captured from JavaScript
|
|
*/
|
|
REACTNATIVEJS("reactnativejs"),
|
|
|
|
/**
|
|
* An error captured from Android's C layer
|
|
*/
|
|
C("c");
|
|
|
|
internal companion object {
|
|
internal fun fromDescriptor(desc: String) = values().find { it.desc == desc }
|
|
}
|
|
}
|