ErrorInfo


class ErrorInfo : Parcelable


Denotes an android test error. Has details of the error including stack trace, type, and message.

Summary

Constants

const Parcelable.Creator<ErrorInfo!>!

Public constructors

ErrorInfo(source: Parcel)

Creates a ErrorInfo from android Parcel.

ErrorInfo(errorMessage: String?, errorType: String?, stackTrace: String)

Constructor to create a ErrorInfo.

Public functions

java-static ErrorInfo!
Int
Unit
writeToParcel(parcel: Parcel!, i: Int)

Public properties

String?

The message associated with the error.

String?

The type of error.

String

The stack trace associated with the error.

Constants

CREATOR

const val CREATORParcelable.Creator<ErrorInfo!>!

Public constructors

ErrorInfo

ErrorInfo(source: Parcel)

Creates a ErrorInfo from android Parcel.

Parameters
source: Parcel

the android Parcel.

ErrorInfo

ErrorInfo(errorMessage: String?, errorType: String?, stackTrace: String)

Constructor to create a ErrorInfo.

Public functions

createFromFailure

java-static fun createFromFailure(failure: Failure!): ErrorInfo!

describeContents

fun describeContents(): Int

writeToParcel

fun writeToParcel(parcel: Parcel!, i: Int): Unit

Public properties

errorMessage

val errorMessageString?

The message associated with the error.

errorType

val errorTypeString?

The type of error. E.g NullPointerException.

stackTrace

val stackTraceString

The stack trace associated with the error.