This type represents a failed outcome.
The encapsulated exception value
Returns the encapsulated Throwable exception if this instance represents failure or null if it is success or loading.
null
Returns the encapsulated value if this instance represents success or null if it is failure or Resultat.Loading.
Returns true if this instance represents a failed outcome. In this case isSuccess returns false. In this case isLoading returns false.
true
false
Returns true if this instance represents a loading outcome. In this case isSuccess returns false. In this case isFailure returns false.
Returns true if this instance represents a successful outcome. In this case isFailure returns false. In this case isLoading returns false.