BackupActionResult.Failure


class BackupActionResult.Failure : BackupActionResult


Indicates that the device payload failed during execution or verification.

Summary

Public constructors

Failure(errorMessage: String, stackTrace: String?)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

String

The high-level error message or exception summary.

String?

The optional serialized stack trace of any caught device-side exceptions.

Inherited properties

From androidx.test.backup.host.BackupActionResult
Boolean

Returns true if this is a Success result.

Public constructors

Failure

Added in 1.0.0-alpha01
Failure(errorMessage: String, stackTrace: String? = null)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

errorMessage

Added in 1.0.0-alpha01
val errorMessageString

The high-level error message or exception summary.

stackTrace

Added in 1.0.0-alpha01
val stackTraceString?

The optional serialized stack trace of any caught device-side exceptions.