Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

FAILURE

class FAILURE : Operation.State
kotlin.Any
   ↳ androidx.work.Operation.State
   ↳ androidx.work.Operation.State.FAILURE

This represents an Operation which has failed.

Summary

Public constructors
<init>(@NonNull exception: Throwable)

Public methods
Throwable

String

Public constructors

<init>

FAILURE(@NonNull exception: Throwable)

Public methods

getThrowable

@NonNull fun getThrowable(): Throwable
Return
Throwable: The Throwable which caused the Operation to fail.

toString

@NonNull fun toString(): String